Re: [PATCH] rcu: Fix up pending cbs check in rcu_prepare_for_idle

2017-08-07 Thread Paul E. McKenney
On Mon, Aug 07, 2017 at 07:31:27PM +0530, Neeraj Upadhyay wrote: > > > On 08/07/2017 06:10 PM, Paul E. McKenney wrote: > >On Mon, Aug 07, 2017 at 11:20:10AM +0530, Neeraj Upadhyay wrote: > >>Pending cbs check in rcu_prepare_for_idle is inversed > >>in the sense that, it should accelerate if there

Re: [PATCH] rcu: Fix up pending cbs check in rcu_prepare_for_idle

2017-08-07 Thread Neeraj Upadhyay
On 08/07/2017 06:10 PM, Paul E. McKenney wrote: On Mon, Aug 07, 2017 at 11:20:10AM +0530, Neeraj Upadhyay wrote: Pending cbs check in rcu_prepare_for_idle is inversed in the sense that, it should accelerate if there are pending cbs; but, the check does the opposite. So, fix it. Fixes: 15fecf8

Re: [PATCH] rcu: Fix up pending cbs check in rcu_prepare_for_idle

2017-08-07 Thread Paul E. McKenney
On Mon, Aug 07, 2017 at 11:20:10AM +0530, Neeraj Upadhyay wrote: > Pending cbs check in rcu_prepare_for_idle is inversed > in the sense that, it should accelerate if there are > pending cbs; but, the check does the opposite. So, > fix it. > > Fixes: 15fecf89e46a ("srcu: Abstract multi-tail callbac

[PATCH] rcu: Fix up pending cbs check in rcu_prepare_for_idle

2017-08-06 Thread Neeraj Upadhyay
Pending cbs check in rcu_prepare_for_idle is inversed in the sense that, it should accelerate if there are pending cbs; but, the check does the opposite. So, fix it. Fixes: 15fecf89e46a ("srcu: Abstract multi-tail callback list handling") Signed-off-by: Neeraj Upadhyay --- kernel/rcu/tree_plugin