mm: gup: use get_user_pages_unlocked
authorAndrea Arcangeli <aarcange@redhat.com>
Wed, 11 Feb 2015 23:27:26 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2015 01:06:05 +0000 (17:06 -0800)
commit7e339128496284cc21977fba5416166ee81f5172
tree6af95386953cc67f3f465b966e03cb56f184dd30
parenta7b780750e1a1c7833812681e1f8fa30bbb06802
mm: gup: use get_user_pages_unlocked

This allows those get_user_pages calls to pass FAULT_FLAG_ALLOW_RETRY to
the page fault in order to release the mmap_sem during the I/O.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andres Lagar-Cavilla <andreslc@google.com>
Cc: Peter Feiner <pfeiner@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/pci/ivtv/ivtv-udma.c
drivers/scsi/st.c
drivers/video/fbdev/pvr2fb.c
mm/process_vm_access.c
net/ceph/pagevec.c