Re: [PATCH] powerpc/selftests: Use gettid() instead of getppid() for null_syscall

2021-06-17 Thread Michael Ellerman
On Fri, 4 Jun 2021 12:31:09 + (UTC), Christophe Leroy wrote: > gettid() is 10% lighter than getppid(), use it for null_syscall selftest. Applied to powerpc/next. [1/1] powerpc/selftests: Use gettid() instead of getppid() for null_syscall

[PATCH] powerpc/selftests: Use gettid() instead of getppid() for null_syscall

2021-06-04 Thread Christophe Leroy
gettid() is 10% lighter than getppid(), use it for null_syscall selftest. Signed-off-by: Christophe Leroy --- tools/testing/selftests/powerpc/benchmarks/null_syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/powerpc/benchmarks/null_syscall.c