]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rcutorture: Test RCU Tasks lock-contention detection
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 25 Nov 2021 00:04:51 +0000 (16:04 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Dec 2021 01:30:29 +0000 (17:30 -0800)
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>
tools/testing/selftests/rcutorture/configs/rcu/TRACE02.boot

index 9675ad632dcc2081dfbf142b2066d4d7d6a634ee..c70b5db6c2ae03be98b6ef5b770079813026446e 100644 (file)
@@ -1 +1,2 @@
 rcutorture.torture_type=tasks-tracing
+rcutorture.fwd_progress=2