]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracepoint: Remove SRCU protection
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 3 Oct 2024 22:42:20 +0000 (18:42 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 9 Oct 2024 01:17:39 +0000 (21:17 -0400)
commite53244e2c8931f9e80c1841293aea86ef8ad32a3
treed5b3c2296a9f40b1c190e7565487fc6657ed42b0
parent48bcda6848232667f13b4e97588de488c83c37d4
tracepoint: Remove SRCU protection

With the removal of the trace_*_rcuidle() tracepoints, there is no reason
to protect tracepoints with SRCU. The reason the SRCU protection was
added, was because it can protect tracepoints when RCU is not "watching".
Now that tracepoints are only used when RCU is watching, remove the SRCU
protection. It just made things more complex and confusing anyway.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Link: https://lore.kernel.org/20241003184220.0dc21d35@gandalf.local.home
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/linux/tracepoint.h
kernel/tracepoint.c