aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-10-19 16:56:16 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-09 12:31:33 -0500
commit5e3edd7e8b7e8004c9bb8310fd669a9ca81de207 (patch)
tree207a5d723daf2bf658d1204dcd832f70794e8caa /tools/perf/scripts/python
parentKVM: x86/mmu: Track the number of TDP MMU pages, but not the actual pages (diff)
downloadlinux-5e3edd7e8b7e8004c9bb8310fd669a9ca81de207.tar.gz
linux-5e3edd7e8b7e8004c9bb8310fd669a9ca81de207.zip
KVM: x86/mmu: Add helper to convert SPTE value to its shadow page
Add a helper to convert a SPTE to its shadow page to deduplicate a variety of flows and hopefully avoid future bugs, e.g. if KVM attempts to get the shadow page for a SPTE without dropping high bits. Opportunistically add a comment in mmu_free_root_page() documenting why it treats the root HPA as a SPTE. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20221019165618.927057-7-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions