]> git.baikalelectronics.ru Git - kernel.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)
commit5de9c0c1700583f8d39a757d718caa214720bace
tree946633c0cbb9ae3a4b374f6896cc9cf5544f0a4a
parent6efdc8becd0fbc255bbfb9c4b4f0f49a12544ac9
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