[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151019225907.GC5105@linux.vnet.ibm.com>
Date: Mon, 19 Oct 2015 15:59:07 -0700
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Yang Shi <yang.shi@...aro.org>
Cc: fweisbec@...il.com, josh@...htriplett.org, rostedt@...dmis.org,
mathieu.desnoyers@...icios.com, jiangshanlai@...il.com,
linux-kernel@...r.kernel.org, linaro-kernel@...ts.linaro.org
Subject: Re: [PATCH] rcu: remove rcu_user_hooks_switch
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@...aro.org>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists