The patch titled Subject: mm/gup_test: GUP_TEST depends on DEBUG_FS has been added to the -mm tree. Its filename is mm-gup_benchmark-gup_benchmark-depends-on-debug_fs.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-gup_benchmark-gup_benchmark-depends-on-debug_fs.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-gup_benchmark-gup_benchmark-depends-on-debug_fs.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Barry Song <song.bao.hua@xxxxxxxxxxxxx> Subject: mm/gup_test: GUP_TEST depends on DEBUG_FS Without DEBUG_FS, all the code in gup_benchmark becomes meaningless. For sure kernel provides debugfs stub while DEBUG_FS is disabled, but the point here is that GUP_TEST can do nothing without DEBUG_FS. Link: https://lkml.kernel.org/r/20201104100552.20156-1-song.bao.hua@xxxxxxxxxxxxx Signed-off-by: Barry Song <song.bao.hua@xxxxxxxxxxxxx> Suggested-by: John Garry <john.garry@xxxxxxxxxx> Cc: John Hubbard <jhubbard@xxxxxxxxxx> Cc: Ralph Campbell <rcampbell@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/mm/Kconfig~mm-gup_benchmark-gup_benchmark-depends-on-debug_fs +++ a/mm/Kconfig @@ -836,6 +836,7 @@ config PERCPU_STATS config GUP_TEST bool "Enable infrastructure for get_user_pages()-related unit tests" + depends on DEBUG_FS help Provides /sys/kernel/debug/gup_test, which in turn provides a way to make ioctl calls that can launch kernel-based unit tests for _ Patches currently in -mm which might be from song.bao.hua@xxxxxxxxxxxxx are mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function.patch mm-gup_benchmark-gup_benchmark-depends-on-debug_fs.patch