summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorMarcelo Tosatti2008-09-17 01:54:46 +0200
committerAvi Kivity2008-10-15 14:25:05 +0200
commit777b3f49d297e387866604093b635e5bc9b9d2a6 (patch)
treed3df6d34bceb9905b033bb2e9e7e9bc6e0992542 /arch/x86/kvm/vmx.c
parentKVM: Device Assignment: Free device structures if IRQ allocation fails (diff)
downloadkernel-qcow2-linux-777b3f49d297e387866604093b635e5bc9b9d2a6.tar.gz
kernel-qcow2-linux-777b3f49d297e387866604093b635e5bc9b9d2a6.tar.xz
kernel-qcow2-linux-777b3f49d297e387866604093b635e5bc9b9d2a6.zip
KVM: opencode gfn_to_page in kvm_vm_fault
kvm_vm_fault is invoked with mmap_sem held in read mode. Since gfn_to_page will be converted to get_user_pages_fast, which requires this lock NOT to be held, switch to opencoded get_user_pages. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions