From: Anatoly Pugachev Date: Tue, 16 Jun 2020 12:26:18 +0000 (+0300) Subject: selftests: vm: add fragment CONFIG_GUP_BENCHMARK X-Git-Tag: v5.10.7~1408^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cae1d5a2c5a491141faa747e9944ba40ab4ab786;p=platform%2Fkernel%2Flinux-rpi.git 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 CC: Jiri Kosina CC: Shuah Khan Signed-off-by: Jiri Kosina --- diff --git a/tools/testing/selftests/vm/config b/tools/testing/selftests/vm/config index 3ba674b..69dd0d1 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