diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-09-16 19:54:46 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-10-15 08:25:05 -0400 |
commit | 777b3f49d297e387866604093b635e5bc9b9d2a6 (patch) | |
tree | d3df6d34bceb9905b033bb2e9e7e9bc6e0992542 /mm | |
parent | bfadaded0dc323a1cf3f08b5068f12955b54cbaa (diff) |
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 'mm')
0 files changed, 0 insertions, 0 deletions