]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Consolidate tdp_page_fault() and nonpaging_page_fault()
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 6 Dec 2019 23:57:24 +0000 (15:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 17:16:06 +0000 (18:16 +0100)
commit0dff2b3795c6a0eea9b84a39e82fb501954b43e2
tree3fb187d3cdf727ca917720eac0f7167150101bc8
parentb3f46b98ebeaccc464d9f3f8b1f1a9bf86462cfb
KVM: x86/mmu: Consolidate tdp_page_fault() and nonpaging_page_fault()

Consolidate the direct MMU page fault handlers into a common helper,
direct_page_fault().  Except for unique max level conditions, the tdp
and nonpaging fault handlers are functionally identical.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c