Skip to content
Commit 19a8ff95 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent be44ae62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment