Skip to content

Commit

Permalink
rcutorture: Make rcutorture scripts force RCU_EXPERT
Browse files Browse the repository at this point in the history
This commit causes the rcutorture scripts to force RCU_EXPERT so that
these scripts can cause rcutorture to torture RCU in the various required
configurations.  However, SRCU-P, TASKS03, and TREE09 retain !RCU_EXPERT
in order to ensure testing of the vanilla configuration.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
  • Loading branch information
Paul E. McKenney committed May 27, 2015
1 parent c5e8e98 commit c4295bf
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/SRCU-N
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_HOTPLUG_CPU=y
CONFIG_PREEMPT_NONE=y
CONFIG_PREEMPT_VOLUNTARY=n
CONFIG_PREEMPT=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/SRCU-P
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_HOTPLUG_CPU=y
CONFIG_PREEMPT_NONE=n
CONFIG_PREEMPT_VOLUNTARY=n
CONFIG_PREEMPT=y
#CHECK#CONFIG_RCU_EXPERT=n
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TASKS01
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ CONFIG_PREEMPT_VOLUNTARY=n
CONFIG_PREEMPT=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_RCU=y
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TASKS03
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ CONFIG_HZ_PERIODIC=n
CONFIG_NO_HZ_IDLE=n
CONFIG_NO_HZ_FULL=y
CONFIG_NO_HZ_FULL_ALL=y
#CHECK#CONFIG_RCU_EXPERT=n
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE01
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ CONFIG_DEBUG_LOCK_ALLOC=n
CONFIG_RCU_CPU_STALL_INFO=n
CONFIG_RCU_BOOST=n
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE02
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ CONFIG_PROVE_LOCKING=n
CONFIG_RCU_CPU_STALL_INFO=n
CONFIG_RCU_BOOST=n
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE03
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ CONFIG_RCU_CPU_STALL_INFO=n
CONFIG_RCU_BOOST=y
CONFIG_RCU_KTHREAD_PRIO=2
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE04
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ CONFIG_RCU_NOCB_CPU=n
CONFIG_DEBUG_LOCK_ALLOC=n
CONFIG_RCU_CPU_STALL_INFO=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE05
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ CONFIG_PROVE_LOCKING=y
CONFIG_PROVE_RCU=y
CONFIG_RCU_CPU_STALL_INFO=n
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE06
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ CONFIG_PROVE_LOCKING=y
CONFIG_PROVE_RCU=y
CONFIG_RCU_CPU_STALL_INFO=n
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE07
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ CONFIG_RCU_NOCB_CPU=n
CONFIG_DEBUG_LOCK_ALLOC=n
CONFIG_RCU_CPU_STALL_INFO=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE08
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ CONFIG_PROVE_RCU=y
CONFIG_RCU_CPU_STALL_INFO=n
CONFIG_RCU_BOOST=n
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
CONFIG_RCU_EXPERT=y
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE09
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ CONFIG_DEBUG_LOCK_ALLOC=n
CONFIG_RCU_CPU_STALL_INFO=n
CONFIG_RCU_BOOST=n
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
#CHECK#CONFIG_RCU_EXPERT=n

0 comments on commit c4295bf

Please sign in to comment.