aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-07-29 00:51:56 +0000
committerPaolo Bonzini <[email protected]>2023-08-31 18:08:20 +0000
commitc5f2d5645f9b7c12c9546ced9ec1f1a558870747 (patch)
tree747b268321df2a35d528759a9f30d741f710c89b /tools/perf/scripts/python/futex-contention.py
parentdrm/i915/gvt: Drop final dependencies on KVM internal details (diff)
downloadkernel-c5f2d5645f9b7c12c9546ced9ec1f1a558870747.tar.gz
kernel-c5f2d5645f9b7c12c9546ced9ec1f1a558870747.zip
KVM: x86/mmu: Add helper to convert root hpa to shadow page
Add a dedicated helper for converting a root hpa to a shadow page in anticipation of using a "dummy" root to handle the scenario where KVM needs to load a valid shadow root (from hardware's perspective), but the guest doesn't have a visible root to shadow. Similar to PAE roots, the dummy root won't have an associated kvm_mmu_page and will need special handling when finding a shadow page given a root. Opportunistically retrieve the root shadow page in kvm_mmu_sync_roots() *after* verifying the root is unsync (the dummy root can never be unsync). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions