commit | 6cf59734fc9bc89954d0157524eea156c2f9a5ab | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed Apr 16 17:19:06 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Apr 20 11:30:30 2008 +0300 |
tree | 96c2d907e730900947ce5f7cebe929fc7dca9dff | |
parent | 1625158d0f89974dc6a235f6ee78c42bb09187ac [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>