commit | 72dc67a69690288538142df73a7e3ac66fea68dc | [log] [tgz] |
---|---|---|
author | Izik Eidus <izike@qumranet.com> | Sun Feb 10 18:04:15 2008 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Tue Mar 04 15:19:40 2008 +0200 |
tree | f40cc5ef0c66686a469977fd438e5b6786f16280 | |
parent | c7ac679c160db864810920df61a6ed14275011aa [diff] |
KVM: remove the usage of the mmap_sem for the protection of the memory slots. 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>