diff options
author | Keith Busch <keith.busch@intel.com> | 2018-10-26 15:10:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-26 16:38:15 -0700 |
commit | aeb85ed4f41a8c0f5c4606d69f5da75e2348d984 (patch) | |
tree | 4f0bafc535530f7a5eb94605f394b085641e3a8a /tools/hv | |
parent | 319e0bec1aecb36c5ac6d23812af487ff2c8f47f (diff) | |
download | linux-aeb85ed4f41a8c0f5c4606d69f5da75e2348d984.tar.bz2 |
tools/testing/selftests/vm/gup_benchmark.c: allow user specified file
Allow a user to specify a file to map by adding a new option, '-f',
providing a means to test various file backings.
If not specified, the benchmark will use a private mapping of /dev/zero,
which produces an anonymous mapping as before.
[akpm@linux-foundation.org: avoid using comma operator]
Link: http://lkml.kernel.org/r/20181010195605.10689-4-keith.busch@intel.com
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions