]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
torture: Enable DEBUG_OBJECTS_RCU_HEAD for Tiny RCU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 Nov 2016 20:54:39 +0000 (12:54 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 15 Jan 2017 05:36:16 +0000 (21:36 -0800)
The RCU torture tests currently do not run any Tiny RCU scenarios for
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y.  This is a hole in the test, given
that someone might need this in real life and given that Tiny RCU uses
different callback-handling code than does Tree RCU.  This commit
therefore enables this Kconfig option for scenario TINY02.

Reported-by: "Ahmed, Iftekhar" <ahmedi@oregonstate.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
tools/testing/selftests/rcutorture/configs/rcu/TINY02

index 3a05bac2ef29e9b64a45ed002efa555c50b4c937..a59f7686e219f409d59f0b6068f5673bc07f049c 100644 (file)
@@ -11,5 +11,5 @@ CONFIG_PROVE_LOCKING=y
 CONFIG_PROVE_RCU_REPEATEDLY=y
 #CHECK#CONFIG_PROVE_RCU=y
 CONFIG_DEBUG_LOCK_ALLOC=y
-CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
+CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
 CONFIG_PREEMPT_COUNT=y