Re: [PATCH] rcu: Remove rcu_switch()

2012-10-03 Thread Paul E. McKenney
On Wed, Oct 03, 2012 at 10:05:43PM +0200, Frederic Weisbecker wrote: > On Wed, Oct 03, 2012 at 11:39:45AM -0700, Paul E. McKenney wrote: > > On Wed, Oct 03, 2012 at 08:21:52PM +0200, Frederic Weisbecker wrote: > > > It's only there to call rcu_user_hooks_switch(). Let's > > > just call rcu_user_hoo

Re: [PATCH] rcu: Remove rcu_switch()

2012-10-03 Thread Frederic Weisbecker
On Wed, Oct 03, 2012 at 11:39:45AM -0700, Paul E. McKenney wrote: > On Wed, Oct 03, 2012 at 08:21:52PM +0200, Frederic Weisbecker wrote: > > It's only there to call rcu_user_hooks_switch(). Let's > > just call rcu_user_hooks_switch() directly, we don't need this > > function in the middle. > > Hel

Re: [PATCH] rcu: Remove rcu_switch()

2012-10-03 Thread Paul E. McKenney
On Wed, Oct 03, 2012 at 08:21:52PM +0200, Frederic Weisbecker wrote: > It's only there to call rcu_user_hooks_switch(). Let's > just call rcu_user_hooks_switch() directly, we don't need this > function in the middle. Hello, Frederic! Doesn't this also require an empty definition of rcu_user_hooks

[PATCH] rcu: Remove rcu_switch()

2012-10-03 Thread Frederic Weisbecker
It's only there to call rcu_user_hooks_switch(). Let's just call rcu_user_hooks_switch() directly, we don't need this function in the middle. Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc: Peter Zijlstra --- include/linux/rcupdate.h |2 ++ include/linux/sched.h|8