rcutorture: Add early boot self tests
authorPranith Kumar <bobby.prani@gmail.com>
Fri, 19 Sep 2014 15:32:29 +0000 (11:32 -0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Nov 2014 03:26:37 +0000 (19:26 -0800)
commitaa23c6fbc50c4f9d8b43682f37fc4580a7851413
tree5834d1e44228b409d03df222c5d8b92ac22d9468
parent2f3fd499df058cb2d53170e56172ce658864050d
rcutorture: Add early boot self tests

Add early boot self tests for RCU under CONFIG_PROVE_RCU.

Currently the only test is adding a dummy callback which increments a counter
which we then later verify after calling rcu_barrier*().

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcu.h
kernel/rcu/tiny.c
kernel/rcu/tree.c
kernel/rcu/update.c