rcu: remove rcu_user_hooks_switch
PATCH 1/1 rcu: remove rcu_user_hooks_switch
It is not invoked by anyone now, just remove it.
--- include/linux/rcupdate.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/rcupdate.h +0 -2
@@ -345,8 +345,6 @@ void rcu_user_exit(void);#else static inline void rcu_user_enter (void ) { }static inline void rcu_user_exit (void ) { } -static inline void rcu_user_hooks_switch (struct task_struct *prev, -struct task_struct *next) { }#endif /* CONFIG_NO_HZ_FULL */ #ifdef CONFIG_RCU_NOCB_CPU
Signature · 1 line
2.0.2
Quoted 3 lines · Yang Shi
It is not invoked by anyone now, just remove it.
Signed-off-by Yang Shi <[email protected]>
We should check with Frederic -- any plans to use this, Frederic? It was last touched by commit 4d9a5d4319e2 (rcu: Remove rcu_switch()) back in 2012.
Thanx, Paul
Quoted 20 lines
--- include/linux/rcupdate.h | 2 -- 1 file changed, 2 deletions(-)include/linux/rcupdate.h +0
-2@@ -345,8 +345,6 @@ void rcu_user_exit(void);#else static inline void rcu_user_enter (void ) { }static inline void rcu_user_exit (void ) { } -static inline void rcu_user_hooks_switch (struct task_struct *prev, -struct task_struct *next) { }#endif /* CONFIG_NO_HZ_FULL */ #ifdef CONFIG_RCU_NOCB_CPU Signature · 1 line
2.0.2
Quoted 8 lines · Paul E. McKenney
Quoted 3 lines · Yang Shi
It is not invoked by anyone now, just remove it.
Signed-off-by Yang Shi <[email protected]>We should check with Frederic -- any plans to use this, Frederic? It was last touched by commit
4d9a5d4319e2(rcu: Removercu_switch()) back in 2012.
Not at all, feel free to remove it with my ACK!
Thanks!
Quoted 11 lines · Frederic Weisbecker
Quoted 8 lines · Paul E. McKenney
Quoted 3 lines · Yang Shi
It is not invoked by anyone now, just remove it.
Signed-off-by Yang Shi <[email protected]>We should check with Frederic -- any plans to use this, Frederic? It was last touched by commit
4d9a5d4319e2(rcu: Removercu_switch()) back in 2012.Not at all, feel free to remove it with my ACK!
Very good, queued for testing and review with your ack.
Thanx, Paul