• Paul E. McKenney's avatar
    rcutorture: Add races with task-exit processing · 4a5f133c
    Paul E. McKenney authored
    Several variants of Linux-kernel RCU interact with task-exit processing,
    including preemptible RCU, Tasks RCU, and Tasks Trace RCU.  This commit
    therefore adds testing of this interaction to rcutorture by adding
    rcutorture.read_exit_burst and rcutorture.read_exit_delay kernel-boot
    parameters.  These kernel parameters control the frequency and spacing
    of special read-then-exit kthreads that are spawned.
    
    [ paulmck: Apply feedback from Dan Carpenter's static checker. ]
    [ paulmck: Reduce latency to avoid false-positive shutdown hangs. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    4a5f133c
torture.h 3.35 KB