Re: [PATCH tip/core/rcu 2/3] rcu: Provide polling interfaces for Tiny RCU grace periods
From: Frederic Weisbecker
Date: Tue Mar 23 2021 - 10:03:07 EST
On Mon, Mar 22, 2021 at 12:45:22PM -0700, Paul E. McKenney wrote:
> On Mon, Mar 22, 2021 at 08:00:35PM +0100, Frederic Weisbecker wrote:
> > But poll_state_synchronize_rcu() checks that the gp_num has changed,
> > which is not needed for cond_synchronize_rcu() since this it is
> > only allowed to be called from a QS.
> Good catch, and thank you! Back to a single might_sleep() it is!
And then: Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>