rcu: Initialize tiny RCU stall-warning timeouts at boot
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 24 Dec 2014 05:33:14 +0000 (21:33 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 16 Jan 2015 07:33:17 +0000 (23:33 -0800)
commit630181c4a915edb0761bb282c567d3abc8ca2f35
tree0d2c62ef2866b5e913a0a7aff9c1d6477fca2ac9
parentec1fe396ff42e240c9b32111ee53665c5916fe5e
rcu: Initialize tiny RCU stall-warning timeouts at boot

The current tiny RCU stall-warning code assumes that the jiffies counter
starts at zero, however, it is sometimes initialized to other values,
for example, -30,000.  This commit therefore changes rcu_init() to
invoke reset_cpu_stall_ticks() for both flavors of RCU to initialize
the stall-warning times properly at boot.

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