Re: [PATCH] rcu: remove rcu_user_hooks_switch

From: Paul E. McKenney
Date: Mon Oct 19 2015 - 18:59:10 EST


On Mon, Oct 19, 2015 at 02:45:02PM -0700, Yang Shi wrote:
> It is not invoked by anyone now, just remove it.
>
> Signed-off-by: Yang Shi <yang.shi@xxxxxxxxxx>

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

> ---
> include/linux/rcupdate.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
> index 581abf8..56355bc 100644
> --- a/include/linux/rcupdate.h
> +++ b/include/linux/rcupdate.h
> @@ -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
> --
> 2.0.2
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/