locktorture: Add test scenario for rwsem_lock
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 12 Sep 2014 16:41:27 +0000 (09:41 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Sep 2014 20:41:43 +0000 (13:41 -0700)
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/configs/lock/CFLIST
tools/testing/selftests/rcutorture/configs/lock/LOCK03 [new file with mode: 0644]
tools/testing/selftests/rcutorture/configs/lock/LOCK03.boot [new file with mode: 0644]

index 901bafde4588ef64fa2941430e7f94c0207e941a..6108137da770296dc5e9acd7a6ac412f9820cf76 100644 (file)
@@ -1,2 +1,3 @@
 LOCK01
 LOCK02
+LOCK03
diff --git a/tools/testing/selftests/rcutorture/configs/lock/LOCK03 b/tools/testing/selftests/rcutorture/configs/lock/LOCK03
new file mode 100644 (file)
index 0000000..1d1da14
--- /dev/null
@@ -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
diff --git a/tools/testing/selftests/rcutorture/configs/lock/LOCK03.boot b/tools/testing/selftests/rcutorture/configs/lock/LOCK03.boot
new file mode 100644 (file)
index 0000000..a67bbe0
--- /dev/null
@@ -0,0 +1 @@
+locktorture.torture_type=rwsem_lock