summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-11-25 03:04:51 +0300
committerPaul E. McKenney <paulmck@kernel.org>2021-12-01 04:30:29 +0300
commita959ed627a426b5bf01cf29c9b011f63459e2345 (patch)
tree132c274c4ae77686c3d00ffe478acc78fd21e890
parent4ead4e33194a4bb080f726fafef787b33ca98965 (diff)
downloadlinux-a959ed627a426b5bf01cf29c9b011f63459e2345.tar.xz
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>
-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