rcu: Kick CPU halfway to RCU CPU stall warning
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Sep 2013 20:57:18 +0000 (13:57 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 3 Dec 2013 18:10:18 +0000 (10:10 -0800)
commit6193c76aba8ec3cc5f083c35efbab9ed924125f6
treeff0d5698840948f5aef0fab9e7949d47a5d52ff4
parentdc1ccc48159d63eca5089e507c82c7d22ef60839
rcu: Kick CPU halfway to RCU CPU stall warning

When an RCU CPU stall warning occurs, the CPU invokes resched_cpu() on
itself.  This can help move the grace period forward in some situations,
but it would be even better to do this -before- the RCU CPU stall warning.
This commit therefore causes resched_cpu() to be called every five jiffies
once the system is halfway to an RCU CPU stall warning.

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