aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoly Pugachev <[email protected]>2020-06-16 15:26:18 +0300
committerJiri Kosina <[email protected]>2020-09-01 14:29:20 +0200
commitcae1d5a2c5a491141faa747e9944ba40ab4ab786 (patch)
treec0e5e049519bb5a0170df750a92318bf767a8648
parentb784a88e523a7c1912fc75486ce8c029ee6fe523 (diff)
selftests: vm: add fragment CONFIG_GUP_BENCHMARK
When running gup_benchmark test the following output states that the config options is missing. $ sudo ./gup_benchmark open: No such file or directory $ sudo strace -e trace=file ./gup_benchmark 2>&1 | tail -3 openat(AT_FDCWD, "/sys/kernel/debug/gup_benchmark", O_RDWR) = -1 ENOENT (No such file or directory) open: No such file or directory +++ exited with 1 +++ Fix it by adding config option fragment. Fixes: 64c349f4ae78 ("mm: add infrastructure for get_user_pages_fast() benchmarking") Signed-off-by: Anatoly Pugachev <[email protected]> CC: Jiri Kosina <[email protected]> CC: Shuah Khan <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
-rw-r--r--tools/testing/selftests/vm/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/vm/config b/tools/testing/selftests/vm/config
index 3ba674b64fa9..69dd0d1aa30b 100644
--- a/tools/testing/selftests/vm/config
+++ b/tools/testing/selftests/vm/config
@@ -3,3 +3,4 @@ CONFIG_USERFAULTFD=y
CONFIG_TEST_VMALLOC=m
CONFIG_DEVICE_PRIVATE=y
CONFIG_TEST_HMM=m
+CONFIG_GUP_BENCHMARK=y