]> git.baikalelectronics.ru Git - kernel.git/commit
mm: gup: use get_user_pages_unlocked within get_user_pages_fast
authorAndrea Arcangeli <aarcange@redhat.com>
Wed, 11 Feb 2015 23:27:23 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2015 01:06:05 +0000 (17:06 -0800)
commit48b4a146bf8800d1e62e6ff2643f570097f3b47c
treee13f7ac217df9904b5cbc1cb624c9f7c9e2130ac
parent4c443d66904ff545fe1549615eb325ad920a4e94
mm: gup: use get_user_pages_unlocked within get_user_pages_fast

This allows the get_user_pages_fast slow path to release the mmap_sem
before blocking.

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>
arch/mips/mm/gup.c
arch/s390/mm/gup.c
arch/sh/mm/gup.c
arch/sparc/mm/gup.c
arch/x86/mm/gup.c
mm/gup.c
mm/util.c