diff options
author | John Hubbard <[email protected]> | 2020-06-01 21:48:27 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-06-02 10:59:08 -0700 |
commit | 91429023342789a89f4b6ae95b47a7df71ab6d95 (patch) | |
tree | b63170a8b725f0d602bfd9be1035480427f77829 /tools/perf/scripts/python/sched-migration.py | |
parent | adc8cb406e52f89071f488848b0fb3e7907ae332 (diff) |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Andy Walls <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions