rcu: Introduce check for callback list/count mismatch
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 25 Jun 2012 19:54:17 +0000 (12:54 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 Jul 2012 12:55:16 +0000 (05:55 -0700)
commitcfca927972e31a5b3da49bf641c525732ff3c357
treed77d787107b706189d4592ef2738901e98814217
parentcf01537ecf192d9ff15c32a355db5d5af22bea4d
rcu: Introduce check for callback list/count mismatch

The recent bug that introduced the RCU callback list/count mismatch
showed the need for a diagnostic to check for this, which this commit
adds.

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