diff options
author | 2020-12-14 19:05:38 -0800 | |
---|---|---|
committer | 2020-12-15 12:13:38 -0800 | |
commit | d0de82411864c4e1f24aaa3a653c7c08dd55c8d0 (patch) | |
tree | 8ab00a9462556b4de8902ce9f176d553f5b7cb28 /mm/gup.c | |
parent | mm/gup_test.c: mark gup_test_init as __init function (diff) | |
download | linux-d0de82411864c4e1f24aaa3a653c7c08dd55c8d0.tar.gz linux-d0de82411864c4e1f24aaa3a653c7c08dd55c8d0.tar.bz2 linux-d0de82411864c4e1f24aaa3a653c7c08dd55c8d0.zip |
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.
[song.bao.hua@hisilicon.com: add comment as a prompt to users as commented by John and Randy]
Link: https://lkml.kernel.org/r/20201108083732.15336-1-song.bao.hua@hisilicon.com
Link: https://lkml.kernel.org/r/20201104100552.20156-1-song.bao.hua@hisilicon.com
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Suggested-by: John Garry <john.garry@huawei.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions