Re: [PATCH tip/core/rcu 1/6] rcu: Abstract the dynticks momentary-idle operation

2017-01-16 Thread Paul E. McKenney
On Mon, Jan 16, 2017 at 10:57:04AM -0800, Josh Triplett wrote: > On Mon, Jan 16, 2017 at 03:22:39AM -0800, Paul E. McKenney wrote: > > On Sun, Jan 15, 2017 at 11:39:51PM -0800, Josh Triplett wrote: > > > On Sat, Jan 14, 2017 at 12:54:40AM -0800, Paul E. McKenney wrote: > > > > This commit is the fi

Re: [PATCH tip/core/rcu 1/6] rcu: Abstract the dynticks momentary-idle operation

2017-01-16 Thread Josh Triplett
On Mon, Jan 16, 2017 at 03:22:39AM -0800, Paul E. McKenney wrote: > On Sun, Jan 15, 2017 at 11:39:51PM -0800, Josh Triplett wrote: > > On Sat, Jan 14, 2017 at 12:54:40AM -0800, Paul E. McKenney wrote: > > > This commit is the first step towards full abstraction of all accesses to > > > the ->dyntic

Re: [PATCH tip/core/rcu 1/6] rcu: Abstract the dynticks momentary-idle operation

2017-01-16 Thread Paul E. McKenney
On Sun, Jan 15, 2017 at 11:39:51PM -0800, Josh Triplett wrote: > On Sat, Jan 14, 2017 at 12:54:40AM -0800, Paul E. McKenney wrote: > > This commit is the first step towards full abstraction of all accesses to > > the ->dynticks counter, implementing the previously open-coded atomic add > > of two i

Re: [PATCH tip/core/rcu 1/6] rcu: Abstract the dynticks momentary-idle operation

2017-01-15 Thread Josh Triplett
On Sat, Jan 14, 2017 at 12:54:40AM -0800, Paul E. McKenney wrote: > This commit is the first step towards full abstraction of all accesses to > the ->dynticks counter, implementing the previously open-coded atomic add > of two in a new rcu_dynticks_momentary_idle() function. This abstraction > wil

[PATCH tip/core/rcu 1/6] rcu: Abstract the dynticks momentary-idle operation

2017-01-14 Thread Paul E. McKenney
This commit is the first step towards full abstraction of all accesses to the ->dynticks counter, implementing the previously open-coded atomic add of two in a new rcu_dynticks_momentary_idle() function. This abstraction will ease changes to the ->dynticks counter operation. Signed-off-by: Paul E