OSDN Git Service

KVM: x86/mmu: Allow parallel page faults for the TDP MMU
authorBen Gardon <bgardon@google.com>
Tue, 2 Feb 2021 18:57:29 +0000 (10:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:45 +0000 (05:27 -0500)
commita2855afc7ee88475e8feb16840b23f787bfc994d
treeb561f5b1dd44c92144d84e7e3215c26fc216cd76
parente25f0e0cd51bfb1e2e6121373c68f1427266bba7
KVM: x86/mmu: Allow parallel page faults for the TDP MMU

Make the last few changes necessary to enable the TDP MMU to handle page
faults in parallel while holding the mmu_lock in read mode.

Reviewed-by: Peter Feiner <pfeiner@google.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210202185734.1680553-24-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c