rcu: Fix detection of abruptly-ending stall
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 9 May 2012 15:45:12 +0000 (08:45 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 Jul 2012 19:34:21 +0000 (12:34 -0700)
commit285fe29481d865ae381ad3924c80894e6968c2d8
treee01e809f4c840770698f857e8176ebb083ff9ad8
parentcba6d0d64ee53772b285d0c0c288deefbeaf7775
rcu: Fix detection of abruptly-ending stall

The code that attempts to identify stalls that end just as we detect
them is broken by both flavors of initialization failure.  This commit
therefore properly initializes and computes the count of the number
of reasons why the RCU grace period is stalled.

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