aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDavid Matlack <[email protected]>2022-06-22 15:26:59 -0400
committerPaolo Bonzini <[email protected]>2022-06-24 04:51:56 -0400
commit3cc736b35799ab330225d89976fac36794e4bec0 (patch)
treee3a1cc1f50bdc6a98fa3ec4900523d3abf12bff0 /tools/perf/scripts/python/bin
parent336081fb3f26a3e819838317c011aee41d88e676 (diff)
KVM: x86/mmu: Pass kvm pointer separately from vcpu to kvm_mmu_find_shadow_page()
Get the kvm pointer from the caller, rather than deriving it from vcpu->kvm, and plumb the kvm pointer all the way from kvm_mmu_get_shadow_page(). With this change in place, the vcpu pointer is only needed to sync indirect shadow pages. In other words, __kvm_mmu_get_shadow_page() can now be used to get *direct* shadow pages without a vcpu pointer. This enables eager page splitting, which needs to allocate direct shadow pages during VM ioctls. No functional change intended. 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/bin')
0 files changed, 0 insertions, 0 deletions