Skip to content
Commit 72dc67a6 authored by Izik Eidus's avatar Izik Eidus Committed by Avi Kivity
Browse files

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: default avatarIzik Eidus <izike@qumranet.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent c7ac679c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment