Re: [PATCH v2 tip/core/rcu 2/3] srcu: Force full grace-period ordering

2017-01-23 Thread Lance Roy
On Mon, 23 Jan 2017 11:12:07 -0800 "Paul E. McKenney" wrote: > On Mon, Jan 23, 2017 at 12:38:29AM -0800, Lance Roy wrote: > > On Sun, 15 Jan 2017 14:42:34 -0800 > > "Paul E. McKenney" wrote: > > > > > @@ -413,6 +415,8 @@ static void __synchronize_srcu(struct srcu_struct *sp, > > > int trycoun

Re: [PATCH v2 tip/core/rcu 2/3] srcu: Force full grace-period ordering

2017-01-23 Thread Paul E. McKenney
On Mon, Jan 23, 2017 at 12:38:29AM -0800, Lance Roy wrote: > On Sun, 15 Jan 2017 14:42:34 -0800 > "Paul E. McKenney" wrote: > > > If a process invokes synchronize_srcu(), is delayed just the right amount > > of time, and thus does not sleep when waiting for the grace period to > > complete, there

Re: [PATCH v2 tip/core/rcu 2/3] srcu: Force full grace-period ordering

2017-01-23 Thread Lance Roy
On Sun, 15 Jan 2017 14:42:34 -0800 "Paul E. McKenney" wrote: > If a process invokes synchronize_srcu(), is delayed just the right amount > of time, and thus does not sleep when waiting for the grace period to > complete, there is no ordering between the end of the grace period and > the code foll