diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-06 15:57:20 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-08 18:16:05 +0100 |
| commit | 39ca1ecb784b29965fd780bed1e8a3792a086a29 (patch) | |
| tree | 00bee61425fe3efee029dfb95c1370fe0e180c1e /tools/perf/scripts/python/bin | |
| parent | KVM: x86/mmu: Refactor the per-slot level calculation in mapping_level() (diff) | |
| download | linux-39ca1ecb784b29965fd780bed1e8a3792a086a29.tar.gz linux-39ca1ecb784b29965fd780bed1e8a3792a086a29.zip | |
KVM: x86/mmu: Refactor handling of forced 4k pages in page faults
Refactor the page fault handlers and mapping_level() to track the max
allowed page level instead of only tracking if a 4k page is mandatory
due to one restriction or another. This paves the way for cleanly
consolidating tdp_page_fault() and nonpaging_page_fault(), and for
eliminating a redundant check on mmu_gfn_lpage_is_disallowed().
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/bin')
0 files changed, 0 insertions, 0 deletions
