From: Marcelo Tosatti Date: Wed, 16 Apr 2008 20:19:06 +0000 (-0300) Subject: KVM: MMU: kvm_pv_mmu_op should not take mmap_sem X-Git-Tag: v2.6.26-rc1~1028^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=960b3991698872f68f09d51f4c2794ad484fe1fd;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed