* [PATCH] selftests: vm: add fragment CONFIG_GUP_BENCHMARK
@ 2020-06-16 12:26 Anatoly Pugachev
2020-09-01 12:29 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: Anatoly Pugachev @ 2020-06-16 12:26 UTC (permalink / raw)
To: linux-kselftest; +Cc: Jiri Kosina, Shuah Khan
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 <matorola@gmail.com>
CC: Jiri Kosina <trivial@kernel.org>
CC: Shuah Khan <shuah@kernel.org>
---
tools/testing/selftests/vm/config | 1 +
1 file changed, 1 insertion(+)
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
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests: vm: add fragment CONFIG_GUP_BENCHMARK
2020-06-16 12:26 [PATCH] selftests: vm: add fragment CONFIG_GUP_BENCHMARK Anatoly Pugachev
@ 2020-09-01 12:29 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2020-09-01 12:29 UTC (permalink / raw)
To: Anatoly Pugachev; +Cc: linux-kselftest, Shuah Khan
On Tue, 16 Jun 2020, Anatoly Pugachev wrote:
> 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 <matorola@gmail.com>
> CC: Jiri Kosina <trivial@kernel.org>
> CC: Shuah Khan <shuah@kernel.org>
> ---
> tools/testing/selftests/vm/config | 1 +
> 1 file changed, 1 insertion(+)
>
> 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
Doesn't seem to be in linux-next as of today, I am picking it up. Thanks,
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-01 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 12:26 [PATCH] selftests: vm: add fragment CONFIG_GUP_BENCHMARK Anatoly Pugachev
2020-09-01 12:29 ` Jiri Kosina
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.