diff options
author | 2024-02-28 11:30:43 -0800 | |
---|---|---|
committer | 2024-04-12 11:23:42 +0200 | |
commit | 64ec8b6ad61997262fb3373970377f5fb709454b (patch) | |
tree | bd9c5673d59a74cd52bcdf84a961416c4ac488a7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bpf: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTION (diff) | |
download | wireguard-linux-64ec8b6ad61997262fb3373970377f5fb709454b.tar.xz wireguard-linux-64ec8b6ad61997262fb3373970377f5fb709454b.zip |
ftrace: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTION
The advent of CONFIG_PREEMPT_AUTO, AKA lazy preemption, will mean that
even kernels built with CONFIG_PREEMPT_NONE or CONFIG_PREEMPT_VOLUNTARY
might see the occasional preemption, and that this preemption just might
happen within a trampoline.
Therefore, update ftrace_shutdown() to invoke synchronize_rcu_tasks()
based on CONFIG_TASKS_RCU instead of CONFIG_PREEMPTION.
[ paulmck: Apply Steven Rostedt feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Ankur Arora <ankur.a.arora@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: <linux-trace-kernel@vger.kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions