Home
last modified time | relevance | path

Searched hist:"83 f06fa7a6fd9d5758e5f8438e2137f25f6f2e6b" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.hdiff 83f06fa7a6fd9d5758e5f8438e2137f25f6f2e6b Wed Jan 08 21:24:43 CET 2020 Sean Christopherson <sean.j.christopherson@intel.com> 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>