aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/configs/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-03-11 17:39:12 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-05-07 10:15:28 -0700
commit19a8ff956c5abaaedfae23b8a951dd2d725a2171 (patch)
tree4413b34e7057c90d48cab3a085e5b50b96326f2a /tools/testing/selftests/rcutorture/configs/rcu
parentlocktorture.c: Fix if-statement empty body warnings (diff)
downloadlinux-dev-19a8ff956c5abaaedfae23b8a951dd2d725a2171.tar.xz
linux-dev-19a8ff956c5abaaedfae23b8a951dd2d725a2171.zip
rcutorture: Add flag to produce non-busy-wait task stalls
This commit aids testing of RCU task stall warning messages by adding an rcutorture.stall_cpu_block module parameter that results in the induced stall sleeping within the RCU read-side critical section. Spinning with interrupts disabled is still available via the rcutorture.stall_cpu_irqsoff module parameter, and specifying neither of these two module parameters will spin with preemption disabled. Note that sleeping (as opposed to preemption) results in additional complaints from RCU at context-switch time, so yet more testing. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/configs/rcu')
0 files changed, 0 insertions, 0 deletions