]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit369f2679f7e73996bf29ecd3ec79df3cce1be27d
tree21a2f176abcdd16378d388a10679d1901ba19192
parent464920104bf7adac12722035bfefb3d772eb04d8
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