mm/gup_benchmark.c: add additional pinning methods
authorKeith Busch <[email protected]>
Fri, 26 Oct 2018 22:09:56 +0000 (15:09 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Oct 2018 23:38:15 +0000 (16:38 -0700)
commit714a3a1ebafe6e23af55a5c694c308f4044a7e00
tree3ae2fe79f50cf9b0dff05e93c8cb69e71752f571
parent26db3d09d9e1963c9db77cb275bd2d36e56ef57a
mm/gup_benchmark.c: add additional pinning methods

Provide new gup benchmark ioctl commands to run different user page
pinning methods, get_user_pages_longterm() and get_user_pages(), in
addition to the existing get_user_pages_fast().

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Keith Busch <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/gup_benchmark.c
tools/testing/selftests/vm/gup_benchmark.c