OSDN Git Service

tools/testing/selftests/vm/gup_benchmark.c: add MAP_HUGETLB option
authorKeith Busch <keith.busch@intel.com>
Fri, 26 Oct 2018 22:10:12 +0000 (15:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Oct 2018 23:38:15 +0000 (16:38 -0700)
commit3821b76c3cdb5f2c5ef1b082de79829e8ff50a7d
tree40d7816b202d8873420e932c83585cf0339163f6
parent0dd8666afb99c71d124e0c2abf1ad7d934a242a0
tools/testing/selftests/vm/gup_benchmark.c: add MAP_HUGETLB option

Add a new option '-H' to the gup benchmark to help understand how hugetlb
mapping pages compare with the default.

Link: http://lkml.kernel.org/r/20181010195605.10689-6-keith.busch@intel.com
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/gup_benchmark.c