aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/configs/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-11-24 16:04:51 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-11-30 17:30:29 -0800
commita959ed627a426b5bf01cf29c9b011f63459e2345 (patch)
tree132c274c4ae77686c3d00ffe478acc78fd21e890 /tools/testing/selftests/rcutorture/configs/rcu
parentrcutorture: Cause TREE02 and TREE10 scenarios to do more callback flooding (diff)
downloadlinux-dev-a959ed627a426b5bf01cf29c9b011f63459e2345.tar.xz
linux-dev-a959ed627a426b5bf01cf29c9b011f63459e2345.zip
rcutorture: Test RCU Tasks lock-contention detection
This commit adjusts the TRACE02 scenario to use a pair of callback-flood kthreads. This in turn forces lock contention on the single RCU Tasks Trace callback queue, which forces use of all CPUs' queues, thus testing this transition. (No, there is not yet any way to transition back. Cc: Neeraj Upadhyay <neeraj.iitr10@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/configs/rcu')
-rw-r--r--tools/testing/selftests/rcutorture/configs/rcu/TRACE02.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TRACE02.boot b/tools/testing/selftests/rcutorture/configs/rcu/TRACE02.boot
index 9675ad632dcc..c70b5db6c2ae 100644
--- a/tools/testing/selftests/rcutorture/configs/rcu/TRACE02.boot
+++ b/tools/testing/selftests/rcutorture/configs/rcu/TRACE02.boot
@@ -1 +1,2 @@
rcutorture.torture_type=tasks-tracing
+rcutorture.fwd_progress=2