aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-17 14:53:23 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-06-08 08:25:26 -0700
commitced8d6fdf8b6b4b4a8354eede7464fbc0c2c96a8 (patch)
tree15df7ed755367bd99734e8d0b497ba488288dcb8 /tools/testing
parentrcuperf: Add ability to performance-test call_rcu() and friends (diff)
downloadwireguard-linux-ced8d6fdf8b6b4b4a8354eede7464fbc0c2c96a8.tar.xz
wireguard-linux-ced8d6fdf8b6b4b4a8354eede7464fbc0c2c96a8.zip
rcuperf: Add a Kconfig-fragment file for Classic SRCU
This commit adds a Kconfig-fragment file for Classic SRCU to ease performance comparisons with Tree SRCU. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/rcutorture/configs/rcuperf/SRCUCLASSIC16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/rcuperf/SRCUCLASSIC b/tools/testing/selftests/rcutorture/configs/rcuperf/SRCUCLASSIC
new file mode 100644
index 000000000000..a1395af60ef4
--- /dev/null
+++ b/tools/testing/selftests/rcutorture/configs/rcuperf/SRCUCLASSIC
@@ -0,0 +1,16 @@
+CONFIG_SMP=y
+CONFIG_HZ_PERIODIC=n
+CONFIG_NO_HZ_IDLE=y
+CONFIG_NO_HZ_FULL=n
+CONFIG_RCU_FAST_NO_HZ=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
+CONFIG_CLASSIC_SRCU=y