aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDavid Matlack <[email protected]>2022-06-22 15:27:00 -0400
committerPaolo Bonzini <[email protected]>2022-06-24 04:51:57 -0400
commitcbd858b17e379f727c6bf1eaedde7b1a44e75b40 (patch)
tree7e0ee391a5d05555950ce9466b3fb40846b479c6 /tools/perf/scripts/python/netdev-times.py
parent3cc736b35799ab330225d89976fac36794e4bec0 (diff)
KVM: x86/mmu: Allow NULL @vcpu in kvm_mmu_find_shadow_page()
Allow @vcpu to be NULL in kvm_mmu_find_shadow_page() (and its only caller __kvm_mmu_get_shadow_page()). @vcpu is only required to sync indirect shadow pages, so it's safe to pass in NULL when looking up direct shadow pages. This will be used for doing eager page splitting, which allocates direct shadow pages from the context of a VM ioctl without access to a vCPU pointer. Signed-off-by: David Matlack <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions