mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00:00
rcutorture: Add a scenario for Classic SRCU
A robust combination of paranoia and cowardice has resulted in retaining Classic SRCU (CONFIG_CLASSIC_SRCU) as a backup for the shiny new Tiny and Tree SRCU implementations. If it is to be a viable backup, it of course needs to be tested. This commit therefore adds an rcutorture scenario named SRCU-C for Classic SRCU. This commit also adds this scenario to the set that are run by default. Once sufficient good experience has accumulated for Tiny and Tree SRCU, this test will be removed, along with the Classic SRCU implementation itself. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
23ca096703
commit
c0ee4500ff
@ -7,6 +7,7 @@ TREE06
|
||||
TREE07
|
||||
TREE08
|
||||
TREE09
|
||||
SRCU-C
|
||||
SRCU-N
|
||||
SRCU-P
|
||||
SRCU-t
|
||||
|
11
tools/testing/selftests/rcutorture/configs/rcu/SRCU-C
Normal file
11
tools/testing/selftests/rcutorture/configs/rcu/SRCU-C
Normal file
@ -0,0 +1,11 @@
|
||||
CONFIG_RCU_TRACE=n
|
||||
CONFIG_SMP=y
|
||||
CONFIG_NR_CPUS=8
|
||||
CONFIG_HOTPLUG_CPU=y
|
||||
CONFIG_RCU_EXPERT=y
|
||||
CONFIG_CLASSIC_SRCU=y
|
||||
CONFIG_PREEMPT_NONE=n
|
||||
CONFIG_PREEMPT_VOLUNTARY=n
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_DEBUG_LOCK_ALLOC=y
|
||||
CONFIG_PROVE_LOCKING=y
|
@ -0,0 +1 @@
|
||||
rcutorture.torture_type=srcud
|
Loading…
x
Reference in New Issue
Block a user