summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2020-05-15 02:34:29 +0200
committerPaul E. McKenney <paulmck@kernel.org>2020-06-29 11:58:50 -0700
commit3c8920e2dbd1a55f72dc14d656df9d0097cf5c72 (patch)
tree2cce309945634d9de2adfdadf897d79c9b6d5421 /tools/perf/scripts/python/syscall-counts.py
parent360fbbb4897c98971e8955b063c01250817a2191 (diff)
downloadkernel-3c8920e2dbd1a55f72dc14d656df9d0097cf5c72.tar.gz
tick/nohz: Narrow down noise while setting current task's tick dependency
Setting a tick dependency on any task, including the case where a task sets that dependency on itself, triggers an IPI to all CPUs. That is of course suboptimal but it had previously not been an issue because it was only used by POSIX CPU timers on nohz_full, which apparently never occurs in latency-sensitive workloads in production. (Or users of such systems are suffering in silence on the one hand or venting their ire on the wrong people on the other.) But RCU now sets a task tick dependency on the current task in order to fix stall issues that can occur during RCU callback processing. Thus, RCU callback processing triggers frequent system-wide IPIs from nohz_full CPUs. This is quite counter-productive, after all, avoiding IPIs is what nohz_full is supposed to be all about. This commit therefore optimizes tasks' self-setting of a task tick dependency by using tick_nohz_full_kick() to avoid the system-wide IPI. Instead, only the execution of the one task is disturbed, which is acceptable given that this disturbance is well down into the noise compared to the degree to which the RCU callback processing itself disturbs execution. Fixes: 6a949b7af82d (rcu: Force on tick when invoking lots of callbacks) Reported-by: Matt Fleming <matt@codeblueprint.co.uk> Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Cc: stable@kernel.org Cc: Paul E. McKenney <paulmck@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
8785a8fbd5a1624dbabd7c782524450e902b722e'>[ARM] pxa: move memory controller registers into pxa2xx-regs.hRussell King 2008-01-26[ARM] pxa: only register "cpld_irq" for the correct platformRussell King 2008-01-26[ARM] pxa: make pxa2xx_spi driver use ssp_request()/ssp_free()eric miao 2008-01-24Driver core: change sysdev classes to use dynamic kobject namesKay Sievers 2007-10-15[ARM] pxa: move pxa_set_mode() from pxa2xx_lubbock.c to lubbock.cRussell King