mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
locktorture: Add test scenario for rwsem_lock
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
862917a52b
commit
aaa693e3d8
3 changed files with 8 additions and 0 deletions
|
@ -1,2 +1,3 @@
|
|||
LOCK01
|
||||
LOCK02
|
||||
LOCK03
|
||||
|
|
6
tools/testing/selftests/rcutorture/configs/lock/LOCK03
Normal file
6
tools/testing/selftests/rcutorture/configs/lock/LOCK03
Normal file
|
@ -0,0 +1,6 @@
|
|||
CONFIG_SMP=y
|
||||
CONFIG_NR_CPUS=4
|
||||
CONFIG_HOTPLUG_CPU=y
|
||||
CONFIG_PREEMPT_NONE=n
|
||||
CONFIG_PREEMPT_VOLUNTARY=n
|
||||
CONFIG_PREEMPT=y
|
|
@ -0,0 +1 @@
|
|||
locktorture.torture_type=rwsem_lock
|
Loading…
Reference in a new issue