diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-06 15:57:21 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-08 18:16:05 +0100 |
| commit | cbe1e6f035523b5fd29e44e18b82081b33d1f3f3 (patch) | |
| tree | 23b9c44ca55a85e2afba924c91c039b77c9c9f5f /tools/perf/scripts/python | |
| parent | KVM: x86/mmu: Refactor handling of forced 4k pages in page faults (diff) | |
| download | linux-cbe1e6f035523b5fd29e44e18b82081b33d1f3f3.tar.gz linux-cbe1e6f035523b5fd29e44e18b82081b33d1f3f3.zip | |
KVM: x86/mmu: Incorporate guest's page level into max level for shadow MMU
Restrict the max level for a shadow page based on the guest's level
instead of capping the level after the fact for host-mapped huge pages,
e.g. hugetlbfs pages. Explicitly capping the max level using the guest
mapping level also eliminates FNAME(page_fault)'s subtle dependency on
THP only supporting 2mb pages.
No functional change intended.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
