Skip to content

Commit 85cbc30

Browse files
matorgregkh
authored andcommitted
selftests: vm: add fragment CONFIG_GUP_BENCHMARK
[ Upstream commit cae1d5a ] 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: 64c349f ("mm: add infrastructure for get_user_pages_fast() benchmarking") Signed-off-by: Anatoly Pugachev <matorola@gmail.com> CC: Jiri Kosina <trivial@kernel.org> CC: Shuah Khan <shuah@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent f05e6ba commit 85cbc30

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • tools/testing/selftests/vm

tools/testing/selftests/vm/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ CONFIG_USERFAULTFD=y
33
CONFIG_TEST_VMALLOC=m
44
CONFIG_DEVICE_PRIVATE=y
55
CONFIG_TEST_HMM=m
6+
CONFIG_GUP_BENCHMARK=y

0 commit comments

Comments
 (0)