KVM: SVM: remove needless mmap_sem acquision from nested_svm_map
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 8 Sep 2009 17:47:38 +0000 (14:47 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:10 +0000 (09:32 +0200)
commite8b3433a5c062e94e34cadb6144c10689a497bc3
tree51af19ba8f6a25e02dc8a1530a0d7bbd2f5a7a3b
parent80ced186d1761d2a66163d9eeb468ddb1f7e0697
KVM: SVM: remove needless mmap_sem acquision from nested_svm_map

nested_svm_map unnecessarily takes mmap_sem around gfn_to_page, since
gfn_to_page / get_user_pages are responsible for it.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c