• Paul E. McKenney's avatar
    scftorture: Add cond_resched() to test loop · 65bd77f5
    Paul E. McKenney authored
    Although the test loop does randomly delay, which would provide quiescent
    states and so forth, it is possible for there to be a series of long
    smp_call_function*() handler runtimes with no delays, which results in
    softlockup and RCU CPU stall warning messages.  This commit therefore
    inserts a cond_resched() into the main test loop.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    65bd77f5
scftorture.c 16.9 KB