summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-11-17 18:08:42 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-12-08 04:24:41 -0500
commitce92ef7604ffe74da84f559f6eba8c6053250451 (patch)
tree0e9cfe20eb6172341195c76f57b201ecbdeb3ba9 /tools/perf/scripts/python
parent8fc78909c05d1691c0d087cb1b9a4858762c747d (diff)
downloadlinux-ce92ef7604ffe74da84f559f6eba8c6053250451.tar.gz
linux-ce92ef7604ffe74da84f559f6eba8c6053250451.zip
KVM: x86/mmu: Use shadow page role to detect PML-unfriendly pages for L2
Rework make_spte() to query the shadow page's role, specifically whether or not it's a guest_mode page, a.k.a. a page for L2, when determining if the SPTE is compatible with PML. This eliminates a dependency on @vcpu, with a future goal of being able to create SPTEs without a specific vCPU. Signed-off-by: Sean Christopherson <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