Commit 2f20de99 authored by Paul E. McKenney's avatar Paul E. McKenney

rcu: Make rcu_gp_cleanup() be noinline for tracing

Although there are trace events for RCU grace periods, these are only
enabled in CONFIG_RCU_TRACE=y kernels.  This commit therefore marks
rcu_gp_cleanup() noinline in order to provide a function that can be
traced that is invoked near the end of each grace period.
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 4d80b8e1
...@@ -2026,7 +2026,7 @@ static void rcu_gp_fqs_loop(void) ...@@ -2026,7 +2026,7 @@ static void rcu_gp_fqs_loop(void)
/* /*
* Clean up after the old grace period. * Clean up after the old grace period.
*/ */
static void rcu_gp_cleanup(void) static noinline void rcu_gp_cleanup(void)
{ {
int cpu; int cpu;
bool needgp = false; bool needgp = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment