KVM: remove the usage of the mmap_sem for the protection of the memory slots.
authorIzik Eidus <izike@qumranet.com>
Sun, 10 Feb 2008 16:04:15 +0000 (18:04 +0200)
committerAvi Kivity <avi@qumranet.com>
Tue, 4 Mar 2008 13:19:40 +0000 (15:19 +0200)
This patch replaces the mmap_sem lock for the memory slots with a new
kvm private lock, it is needed beacuse untill now there were cases where
kvm accesses user memory while holding the mmap semaphore.

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found