2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/arch/x86/kvm/mmu
Sean Christopherson 83f06fa7a6 KVM: x86/mmu: Rely on host page tables to find HugeTLB mappings
Remove KVM's HugeTLB specific logic and instead rely on walking the host
page tables (already done for THP) to identify HugeTLB mappings.
Eliminating the HugeTLB-only logic avoids taking mmap_sem and calling
find_vma() for all hugepage compatible page faults, and simplifies KVM's
page fault code by consolidating all hugepage adjustments into a common
helper.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-27 20:00:06 +01:00
..
mmu.c KVM: x86/mmu: Rely on host page tables to find HugeTLB mappings 2020-01-27 20:00:06 +01:00
page_track.c KVM: x86: create mmu/ subdirectory 2019-11-21 12:03:50 +01:00
paging_tmpl.h KVM: x86/mmu: Rely on host page tables to find HugeTLB mappings 2020-01-27 20:00:06 +01:00