]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/powerpc: Add additional option to mmap_bench test
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 28 Nov 2017 08:36:39 +0000 (14:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Jan 2018 12:37:43 +0000 (23:37 +1100)
commit7e82bca2f3c6efc9ffc92c6197a17721e70f6a87
tree3b9efff6a564842fc9a2e05ef17adc83b07f90ba
parentd56df5d393e413a15e5d344b5582e5a5af7e1e7f
selftest/powerpc: Add additional option to mmap_bench test

This patch adds --pgfault and --iterations options to mmap_bench test. With
--pgfault we touch every page mapped. This helps in measuring impact in the
page fault path with a patch series.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/benchmarks/mmap_bench.c