summaryrefslogtreecommitdiffstats
path: root/kernel/locking/percpu-rwsem.c
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2020-06-02 06:48:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-02 19:59:08 +0200
commit91429023342789a89f4b6ae95b47a7df71ab6d95 (patch)
treeb63170a8b725f0d602bfd9be1035480427f77829 /kernel/locking/percpu-rwsem.c
parentmm/gup.c: update the documentation (diff)
downloadlinux-91429023342789a89f4b6ae95b47a7df71ab6d95.tar.xz
linux-91429023342789a89f4b6ae95b47a7df71ab6d95.zip
mm/gup: introduce pin_user_pages_unlocked
Introduce pin_user_pages_unlocked(), which is nearly identical to the get_user_pages_unlocked() that it wraps, except that it sets FOLL_PIN and rejects FOLL_GET. Signed-off-by: John Hubbard <jhubbard@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Walls <awalls@md.metrocast.net> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Link: http://lkml.kernel.org/r/20200518012157.1178336-2-jhubbard@nvidia.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/locking/percpu-rwsem.c')
0 files changed, 0 insertions, 0 deletions