Re: [PATCH 06/16] rcu: Clear gp_flags only when actually starting new gp

2014-07-23 Thread Paul E. McKenney
On Wed, Jul 23, 2014 at 01:09:43AM -0400, Pranith Kumar wrote: > We are clearing the gp_flags before we check if a grace period is in progress. > If a grace period is in progress, we return after incorrectly clearing the > gp_flags. The code comments say that this is highly unlikely, but just to be

[PATCH 06/16] rcu: Clear gp_flags only when actually starting new gp

2014-07-22 Thread Pranith Kumar
We are clearing the gp_flags before we check if a grace period is in progress. If a grace period is in progress, we return after incorrectly clearing the gp_flags. The code comments say that this is highly unlikely, but just to be safe this commit moves the clearing of gp_flags to after the check f