locktorture: Add torture tests for percpu_rwsem
This commit adds percpu_rwsem tests based on the earlier rwsem tests. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
@@ -3,3 +3,4 @@ LOCK02
|
||||
LOCK03
|
||||
LOCK04
|
||||
LOCK05
|
||||
LOCK06
|
||||
|
6
tools/testing/selftests/rcutorture/configs/lock/LOCK06
Normal file
6
tools/testing/selftests/rcutorture/configs/lock/LOCK06
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=percpu_rwsem_lock
|
Reference in New Issue
Block a user