Re: selftests/powerpc: Import Anton's mmap & futex micro benchmarks

2016-07-05 Thread Michael Ellerman
On Thu, 2016-02-06 at 12:02:01 UTC, Michael Ellerman wrote: > These are useful little loops for smoke testing performance. > > Signed-off-by: Michael Ellerman Applied to powerpc next. https://git.kernel.org/powerpc/c/0c63e8b7b97fb72ef38c8edbfb cheers ___

Re: [PATCH] selftests/powerpc: Import Anton's mmap & futex micro benchmarks

2016-06-02 Thread Michael Ellerman
On Thu, 2016-06-02 at 22:02 +1000, Michael Ellerman wrote: > + > +int test_futex(void) > +{ > + struct timespec ts_start, ts_end; > +unsigned long i = ITERATIONS; > + > + clock_gettime(CLOCK_MONOTONIC, &ts_start); > + > +while (i--) { > +unsigned int addr = 0

[PATCH] selftests/powerpc: Import Anton's mmap & futex micro benchmarks

2016-06-02 Thread Michael Ellerman
These are useful little loops for smoke testing performance. Signed-off-by: Michael Ellerman --- .../selftests/powerpc/benchmarks/.gitignore| 2 ++ .../testing/selftests/powerpc/benchmarks/Makefile | 2 +- .../selftests/powerpc/benchmarks/futex_bench.c | 42 ++