mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
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>
This commit is contained in:
parent
4d80b8e196
commit
2f20de99a6
@ -2026,7 +2026,7 @@ static void rcu_gp_fqs_loop(void)
|
||||
/*
|
||||
* Clean up after the old grace period.
|
||||
*/
|
||||
static void rcu_gp_cleanup(void)
|
||||
static noinline void rcu_gp_cleanup(void)
|
||||
{
|
||||
int cpu;
|
||||
bool needgp = false;
|
||||
|
Loading…
Reference in New Issue
Block a user