diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-09-30 12:47:38 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-12-03 13:11:12 -0500 |
| commit | a0b8e0853a87ef008a819e8cbe905735934396da (patch) | |
| tree | c4bc02ba042982b49ce50a680b65b3f26fce7ef8 | |
| parent | ccb51a893c8c2b7c933b93f5c298e00b9d6eb76f (diff) | |
rcutorture: Add SRCU Kconfig-fragment files
Use .boot facility to ease inclusion of SRCU into automated testing.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
4 files changed, 18 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-N b/tools/testing/selftests/rcutorture/configs/SRCU-N new file mode 100644 index 000000000000..10a0e27f4c75 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/SRCU-N | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | CONFIG_RCU_TRACE=n | ||
| 2 | CONFIG_SMP=y | ||
| 3 | CONFIG_NR_CPUS=8 | ||
| 4 | CONFIG_HOTPLUG_CPU=y | ||
| 5 | CONFIG_PREEMPT_NONE=y | ||
| 6 | CONFIG_PREEMPT_VOLUNTARY=n | ||
| 7 | CONFIG_PREEMPT=n | ||
| 8 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-N.boot b/tools/testing/selftests/rcutorture/configs/SRCU-N.boot new file mode 100644 index 000000000000..238bfe3bd0cc --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/SRCU-N.boot | |||
| @@ -0,0 +1 @@ | |||
| rcutorture.torture_type=srcu | |||
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-P b/tools/testing/selftests/rcutorture/configs/SRCU-P new file mode 100644 index 000000000000..6650e00c6d91 --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/SRCU-P | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | CONFIG_RCU_TRACE=n | ||
| 2 | CONFIG_SMP=y | ||
| 3 | CONFIG_NR_CPUS=8 | ||
| 4 | CONFIG_HOTPLUG_CPU=y | ||
| 5 | CONFIG_PREEMPT_NONE=n | ||
| 6 | CONFIG_PREEMPT_VOLUNTARY=n | ||
| 7 | CONFIG_PREEMPT=y | ||
| 8 | CONFIG_PRINTK_TIME=y | ||
diff --git a/tools/testing/selftests/rcutorture/configs/SRCU-P.boot b/tools/testing/selftests/rcutorture/configs/SRCU-P.boot new file mode 100644 index 000000000000..238bfe3bd0cc --- /dev/null +++ b/tools/testing/selftests/rcutorture/configs/SRCU-P.boot | |||
| @@ -0,0 +1 @@ | |||
| rcutorture.torture_type=srcu | |||
