summaryrefslogtreecommitdiff
path: root/virt/kvm/mmu_lock.h
AgeCommit message (Collapse)AuthorFilesLines
2021-02-04KVM: x86/mmu: Use an rwlock for the x86 MMUBen Gardon1-0/+23
Add a read / write lock to be used in place of the MMU spinlock on x86. The rwlock will enable the TDP MMU to handle page faults, and other operations in parallel in future commits. Reviewed-by: Peter Feiner <pfeiner@google.com> Signed-off-by: Ben Gardon <bgardon@google.com> Message-Id: <20210202185734.1680553-19-bgardon@google.com> [Introduce virt/kvm/mmu_lock.h - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>