]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Allow zap gfn range to operate under the mmu read lock
authorBen Gardon <bgardon@google.com>
Thu, 1 Apr 2021 23:37:32 +0000 (16:37 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Apr 2021 13:06:04 +0000 (09:06 -0400)
commit7646ac62a59a1f1b459d114dfc77f68a5936b81d
tree3a54f5ec8e134850966f65da895271da5df94455
parentf5906def91748a3cf81c3572735506b02cc2e1c5
KVM: x86/mmu: Allow zap gfn range to operate under the mmu read lock

To reduce lock contention and interference with page fault handlers,
allow the TDP MMU function to zap a GFN range to operate under the MMU
read lock.

Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210401233736.638171-10-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/tdp_mmu.c
arch/x86/kvm/mmu/tdp_mmu.h