Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251129 > unrolled thread

[PATCH] rcu: remove rcu_user_hooks_switch

Started byYang Shi <yang.shi@linaro.org>
First post2015-10-20 00:10 +0200
Last post2015-10-20 22:40 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] rcu: remove rcu_user_hooks_switch Yang Shi <yang.shi@linaro.org> - 2015-10-20 00:10 +0200
    Re: [PATCH] rcu: remove rcu_user_hooks_switch "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-10-20 01:00 +0200
      Re: [PATCH] rcu: remove rcu_user_hooks_switch Frederic Weisbecker <fweisbec@gmail.com> - 2015-10-20 01:50 +0200
        Re: [PATCH] rcu: remove rcu_user_hooks_switch "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-10-20 22:40 +0200

#1251129 — [PATCH] rcu: remove rcu_user_hooks_switch

FromYang Shi <yang.shi@linaro.org>
Date2015-10-20 00:10 +0200
Subject[PATCH] rcu: remove rcu_user_hooks_switch
Message-ID<qlqMW-R1-21@gated-at.bofh.it>
It is not invoked by anyone now, just remove it.

Signed-off-by: Yang Shi <yang.shi@linaro.org>
---
 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1251141

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2015-10-20 01:00 +0200
Message-ID<qlrzk-1Mv-17@gated-at.bofh.it>
In reply to#1251129
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
> 

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

[toc] | [prev] | [next] | [standalone]


#1251157

FromFrederic Weisbecker <fweisbec@gmail.com>
Date2015-10-20 01:50 +0200
Message-ID<qlslI-2Y7-13@gated-at.bofh.it>
In reply to#1251141
On Mon, Oct 19, 2015 at 03:59:07PM -0700, Paul E. McKenney wrote:
> 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.

Not at all, feel free to remove it with my ACK!

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

[toc] | [prev] | [next] | [standalone]


#1252013

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2015-10-20 22:40 +0200
Message-ID<qlLRn-6h1-15@gated-at.bofh.it>
In reply to#1251157
On Tue, Oct 20, 2015 at 01:46:03AM +0200, Frederic Weisbecker wrote:
> On Mon, Oct 19, 2015 at 03:59:07PM -0700, Paul E. McKenney wrote:
> > 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.
> 
> Not at all, feel free to remove it with my ACK!

Very good, queued for testing and review with your ack.

							Thanx, Paul

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web