locktorture: Add test scenario for mutex_lock
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 12 Sep 2014 16:36:53 +0000 (09:36 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Sep 2014 20:41:42 +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/LOCK02 [new file with mode: 0644]
tools/testing/selftests/rcutorture/configs/lock/LOCK02.boot [new file with mode: 0644]

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