KVM: MMU: Add locking around kvm_mmu_slot_remove_write_access()
authorAvi Kivity <avi@qumranet.com>
Thu, 6 Aug 2009 17:39:46 +0000 (14:39 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:04 +0000 (20:17 -0700)
(cherry picked from commit 2245a28fe2e6fdb1bdabc4dcde1ea3a5c37e2a9e)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found