rcu: Make expedited grace periods resolve stall-warning ties
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 17 Nov 2015 18:56:55 +0000 (10:56 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 4 Dec 2015 20:26:52 +0000 (12:26 -0800)
commit73f36f9de8bed78bcda2704a348594c20518b455
tree8fca805b595bcacf72541b01b1e2b0dd9c1bb100
parentdf5bd5144a80a9f6c3807383b11f735dae9caf9d
rcu: Make expedited grace periods resolve stall-warning ties

Currently, if a grace period ends just as the stall-warning timeout
fires, an empty stall warning will be printed.  This is not helpful,
so this commit avoids these useless warnings by rechecking completion
after awakening in synchronize_sched_expedited_wait().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c