rcutorture: Add an rcu_busted to test the test
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 6 Feb 2014 16:45:56 +0000 (08:45 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:04:30 +0000 (09:04 -0800)
commitff20e251c409da81f2b850c81964908fb4c6fe66
treed19bd865cb6f1e9038630b35ffff4b99662cb68b
parent0af3fe1efa534a43385fe2694c42ffec7a310e46
rcutorture: Add an rcu_busted to test the test

This commit adds a deliberately buggy RCU implementation into rcutorture
to allow easy checking that rcutorture correctly flags buggy RCU
implementations.

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