rcutorture: Enable RCU self test in configs
Add config and boot parameters to enable the self tests in rcutorture testing. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
aa23c6fbc5
commit
10d2e62c41
|
@ -7,6 +7,8 @@ CONFIG_HZ_PERIODIC=y
|
||||||
CONFIG_NO_HZ_IDLE=n
|
CONFIG_NO_HZ_IDLE=n
|
||||||
CONFIG_NO_HZ_FULL=n
|
CONFIG_NO_HZ_FULL=n
|
||||||
CONFIG_RCU_TRACE=y
|
CONFIG_RCU_TRACE=y
|
||||||
|
CONFIG_PROVE_LOCKING=y
|
||||||
|
CONFIG_PROVE_RCU=y
|
||||||
CONFIG_DEBUG_LOCK_ALLOC=y
|
CONFIG_DEBUG_LOCK_ALLOC=y
|
||||||
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
|
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
|
||||||
CONFIG_PREEMPT_COUNT=y
|
CONFIG_PREEMPT_COUNT=y
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
rcupdate.rcu_self_test=1
|
||||||
|
rcupdate.rcu_self_test_bh=1
|
|
@ -1 +1,2 @@
|
||||||
rcutorture.torture_type=sched
|
rcutorture.torture_type=sched
|
||||||
|
rcupdate.rcu_self_test_sched=1
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
rcupdate.rcu_self_test=1
|
||||||
|
rcupdate.rcu_self_test_bh=1
|
||||||
|
rcupdate.rcu_self_test_sched=1
|
|
@ -18,6 +18,8 @@ CONFIG_RCU_FANOUT_LEAF=2
|
||||||
CONFIG_RCU_NOCB_CPU=y
|
CONFIG_RCU_NOCB_CPU=y
|
||||||
CONFIG_RCU_NOCB_CPU_ALL=y
|
CONFIG_RCU_NOCB_CPU_ALL=y
|
||||||
CONFIG_DEBUG_LOCK_ALLOC=n
|
CONFIG_DEBUG_LOCK_ALLOC=n
|
||||||
|
CONFIG_PROVE_LOCKING=y
|
||||||
|
CONFIG_PROVE_RCU=y
|
||||||
CONFIG_RCU_CPU_STALL_INFO=n
|
CONFIG_RCU_CPU_STALL_INFO=n
|
||||||
CONFIG_RCU_CPU_STALL_VERBOSE=n
|
CONFIG_RCU_CPU_STALL_VERBOSE=n
|
||||||
CONFIG_RCU_BOOST=n
|
CONFIG_RCU_BOOST=n
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
rcutorture.torture_type=sched
|
rcutorture.torture_type=sched
|
||||||
|
rcupdate.rcu_self_test=1
|
||||||
|
rcupdate.rcu_self_test_sched=1
|
||||||
|
|
Loading…
Reference in a new issue