]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Dump number of callbacks in stall warning messages
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 21 Sep 2012 23:35:25 +0000 (16:35 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 23 Oct 2012 21:55:27 +0000 (14:55 -0700)
commit53bb857c373d6b7936f8a7b4451f0a99703c308e
tree946633c0cbb9ae3a4b374f6896cc9cf5544f0a4a
parenteee058826100e5a344f11601e0c47baeaf07c77b
rcu: Dump number of callbacks in stall warning messages

In theory, if a grace period manages to get started despite there being
no callbacks on any of the CPUs, all CPUs could go into dyntick-idle
mode, so that the grace period would never end.  This commit updates
the RCU CPU stall warning messages to detect this condition by summing
up the number of callbacks on all CPUs.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c