[PATCH RFC 05/16] rcuperf: Add PRCU test config files
From: lianglihao
Date: Tue Jan 23 2018 - 03:12:01 EST
From: Lihao Liang <lianglihao@xxxxxxxxxx>
Use the same config file of TREE.
Signed-off-by: Lihao Liang <lianglihao@xxxxxxxxxx>
---
.../selftests/rcutorture/configs/rcuperf/CFLIST | 1 +
.../selftests/rcutorture/configs/rcuperf/PRCU | 20 ++++++++++++++++++++
.../selftests/rcutorture/configs/rcuperf/PRCU.boot | 1 +
3 files changed, 22 insertions(+)
create mode 100644 tools/testing/selftests/rcutorture/configs/rcuperf/PRCU
create mode 100644 tools/testing/selftests/rcutorture/configs/rcuperf/PRCU.boot
diff --git a/tools/testing/selftests/rcutorture/configs/rcuperf/CFLIST b/tools/testing/selftests/rcutorture/configs/rcuperf/CFLIST
index c9f56cf2..4b80917a 100644
--- a/tools/testing/selftests/rcutorture/configs/rcuperf/CFLIST
+++ b/tools/testing/selftests/rcutorture/configs/rcuperf/CFLIST
@@ -1 +1,2 @@
TREE
+PRCU
diff --git a/tools/testing/selftests/rcutorture/configs/rcuperf/PRCU b/tools/testing/selftests/rcutorture/configs/rcuperf/PRCU
new file mode 100644
index 00000000..a312f671
--- /dev/null
+++ b/tools/testing/selftests/rcutorture/configs/rcuperf/PRCU
@@ -0,0 +1,20 @@
+CONFIG_SMP=y
+CONFIG_PREEMPT_NONE=n
+CONFIG_PREEMPT_VOLUNTARY=n
+CONFIG_PREEMPT=y
+#CHECK#CONFIG_PREEMPT_RCU=y
+CONFIG_HZ_PERIODIC=n
+CONFIG_NO_HZ_IDLE=y
+CONFIG_NO_HZ_FULL=n
+CONFIG_RCU_FAST_NO_HZ=n
+CONFIG_RCU_TRACE=n
+CONFIG_HOTPLUG_CPU=n
+CONFIG_SUSPEND=n
+CONFIG_HIBERNATION=n
+CONFIG_RCU_NOCB_CPU=n
+CONFIG_DEBUG_LOCK_ALLOC=n
+CONFIG_PROVE_LOCKING=n
+CONFIG_RCU_BOOST=n
+CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
+CONFIG_RCU_EXPERT=y
+CONFIG_RCU_TRACE=y
diff --git a/tools/testing/selftests/rcutorture/configs/rcuperf/PRCU.boot b/tools/testing/selftests/rcutorture/configs/rcuperf/PRCU.boot
new file mode 100644
index 00000000..7e54ea55
--- /dev/null
+++ b/tools/testing/selftests/rcutorture/configs/rcuperf/PRCU.boot
@@ -0,0 +1 @@
+rcuperf.perf_type=prcu
--
2.14.1.729.g59c0ea183