commit | 960b3991698872f68f09d51f4c2794ad484fe1fd | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed Apr 16 17:19:06 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Apr 27 18:21:45 2008 +0300 |
tree | a5b2d84dfb0f7009538c1c07ca5e244da2be3956 | |
parent | 1336028b9a1fb33537eab8caec66e812eb8cad63 [diff] |
KVM: MMU: kvm_pv_mmu_op should not take mmap_sem kvm_pv_mmu_op should not take mmap_sem. All gfn_to_page() callers down in the MMU processing will take it if necessary, so as it is it can deadlock. Apparently a leftover from the days before slots_lock. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>