• Paul E. McKenney's avatar
    rcutorture: Add flag to produce non-busy-wait task stalls · 19a8ff95
    Paul E. McKenney authored
    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>
    19a8ff95
kernel-parameters.txt 199 KB