Add context tracking to the system call handler explicitly, and remove _TIF_NOHZ. This improves system call performance when nohz_full is enabled. On a POWER9, gettid scv system call cost on a nohz_full CPU improves from 1129 cycles to 1004 cycles and on a housekeeping CPU from 550 cycles to 430 cycles. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210130130852.2952424-31-npiggin@gmail.com |
||
---|---|---|
.. | ||
Makefile | ||
ptrace32.c | ||
ptrace-adv.c | ||
ptrace-altivec.c | ||
ptrace-decl.h | ||
ptrace-fpu.c | ||
ptrace-noadv.c | ||
ptrace-novsx.c | ||
ptrace-spe.c | ||
ptrace-tm.c | ||
ptrace-view.c | ||
ptrace-vsx.c | ||
ptrace.c |