rcu: Make rcu_gp_cleanup() be noinline for tracing
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 11 Apr 2021 17:49:52 +0000 (10:49 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 10 May 2021 23:22:54 +0000 (16:22 -0700)
commit2f20de99a63b0de9bcceedafc3281e65fbf7d4fd
treea4ac2251fa1bfc3a6763aa76e8d580875a895421
parent4d80b8e196fad9852050f3c8624eea09a6bbeada
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: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c