KVM: MMU: Add locking around kvm_mmu_slot_remove_write_access()
authorAvi Kivity <avi@qumranet.com>
Wed, 27 Aug 2008 13:32:24 +0000 (16:32 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:24 +0000 (10:15 +0200)
commit2245a28fe2e6fdb1bdabc4dcde1ea3a5c37e2a9e
tree7e43c47167c447b343c279e8562fe08c58b4b759
parentbc2d429979451d69d0985c5dbdf908cace2831cc
KVM: MMU: Add locking around kvm_mmu_slot_remove_write_access()

It was generally safe due to slots_lock being held for write, but it wasn't
very nice.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c