aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-12-06 15:57:20 -0800
committerPaolo Bonzini <[email protected]>2020-01-08 18:16:05 +0100
commit39ca1ecb784b29965fd780bed1e8a3792a086a29 (patch)
tree00bee61425fe3efee029dfb95c1370fe0e180c1e /include/linux
parentf0f37e229c0517fa0d8bda73a2aeee28260370a2 (diff)
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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions