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)
commita959ed627a426b5bf01cf29c9b011f63459e2345
tree132c274c4ae77686c3d00ffe478acc78fd21e890
parent4ead4e33194a4bb080f726fafef787b33ca98965
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>
tools/testing/selftests/rcutorture/configs/rcu/TRACE02.boot