]> git.baikalelectronics.ru Git - kernel.git/commit
rapidio: use get_user_pages_unlocked()
authorLorenzo Stoakes <lstoakes@gmail.com>
Mon, 27 Feb 2017 22:27:34 +0000 (14:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:45 +0000 (18:43 -0800)
commitd38118a09145872b8681e335c76651b3f3bbc21c
tree21a2f176abcdd16378d388a10679d1901ba19192
parentbf12dd663dd2ada726d723b476794c2e7c5f986c
rapidio: use get_user_pages_unlocked()

Moving from get_user_pages() to get_user_pages_unlocked() simplifies the
code and takes advantage of VM_FAULT_RETRY functionality when faulting
in pages.

Link: http://lkml.kernel.org/r/20170103205024.6704-1-lstoakes@gmail.com
Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/devices/rio_mport_cdev.c