Skip to content

Commit 4c6cd03

Browse files
Barry Songtorvalds
authored andcommitted
mm/gup_benchmark: update the documentation in Kconfig
In the beginning, mm/gup_benchmark.c supported get_user_pages_fast() only, but right now, it supports the benchmarking of a couple of get_user_pages() related calls like: * get_user_pages_fast() * get_user_pages() * pin_user_pages_fast() * pin_user_pages() The documentation is confusing and needs update. Signed-off-by: Barry Song <song.bao.hua@hisilicon.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: John Hubbard <jhubbard@nvidia.com> Cc: Keith Busch <keith.busch@intel.com> Cc: Ira Weiny <ira.weiny@intel.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Link: https://lkml.kernel.org/r/20200821032546.19992-1-song.bao.hua@hisilicon.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent eb1d7a6 commit 4c6cd03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎mm/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,10 +831,10 @@ config PERCPU_STATS
831831
be used to help understand percpu memory usage.
832832

833833
config GUP_BENCHMARK
834-
bool "Enable infrastructure for get_user_pages_fast() benchmarking"
834+
bool "Enable infrastructure for get_user_pages() and related calls benchmarking"
835835
help
836836
Provides /sys/kernel/debug/gup_benchmark that helps with testing
837-
performance of get_user_pages_fast().
837+
performance of get_user_pages() and related calls.
838838

839839
See tools/testing/selftests/vm/gup_benchmark.c
840840

0 commit comments

Comments
 (0)