From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752095AbbJSW7G (ORCPT ); Mon, 19 Oct 2015 18:59:06 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:58041 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbbJSW7E (ORCPT ); Mon, 19 Oct 2015 18:59:04 -0400 X-IBM-Helo: d03dlp01.boulder.ibm.com X-IBM-MailFrom: paulmck@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Mon, 19 Oct 2015 15:59:07 -0700 From: "Paul E. McKenney" To: Yang Shi 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 Message-ID: <20151019225907.GC5105@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <1445291102-13176-1-git-send-email-yang.shi@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445291102-13176-1-git-send-email-yang.shi@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15101922-0005-0000-0000-000019220999 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 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 >