mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Yang Shi <yang.shi@linaro.org>
Cc: fweisbec@gmail.com, josh@joshtriplett.org, rostedt@goodmis.org,
	mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com,
	linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org
Subject: Re: [PATCH] rcu: remove rcu_user_hooks_switch
Date: Mon, 19 Oct 2015 15:59:07 -0700	[thread overview]
Message-ID: <20151019225907.GC5105@linux.vnet.ibm.com> (raw)
In-Reply-To: <1445291102-13176-1-git-send-email-yang.shi@linaro.org>

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@linaro.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
> 


  reply	other threads:[~2015-10-19 22:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 21:45 Yang Shi
2015-10-19 22:59 ` Paul E. McKenney [this message]
2015-10-19 23:46   ` Frederic Weisbecker
2015-10-20 20:35     ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151019225907.GC5105@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=fweisbec@gmail.com \
    --cc=jiangshanlai@gmail.com \
    --cc=josh@joshtriplett.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=rostedt@goodmis.org \
    --cc=yang.shi@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome