summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-10 21:49:54 +0300
committerUladzislau Rezki (Sony) <urezki@gmail.com>2024-12-14 19:01:27 +0300
commit5ec090011bd2bb6ea6c2c607371db57ee0506a89 (patch)
treed7fe06b6f8c4c1d3484ca9fd446793a7c6bb7023
parent584975ccb7bd8088e681b0b75335295d0a2c6da1 (diff)
downloadlinux-5ec090011bd2bb6ea6c2c607371db57ee0506a89.tar.xz
rcutorture: Make the TREE03 scenario do preemption
This commit adds the rcutorture.preempt_duration module parameter to rcutorture's TREE03.boot parameter list in order to better test preemption of RCU read-side critical sections. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
-rw-r--r--tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot
index 8e50bfd4b710..90318591dae2 100644
--- a/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot
+++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot
@@ -5,3 +5,4 @@ rcutree.gp_cleanup_delay=3
rcutree.kthread_prio=2
threadirqs
rcutree.use_softirq=0
+rcutorture.preempt_duration=10