Skip to content
Commit 8106bddb authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

scftorture: Fix distribution of short handler delays



The scftorture test module's scf_handler() function is supposed to provide
three different distributions of short delays (including "no delay") and
one distribution of long delays, if specified by the scftorture.longwait
module parameter.  However, the second of the two non-zero-wait short delays
is disabled due to the first such delay's "goto out" not being enclosed in
the "then" clause with the "udelay()".

This commit therefore adjusts the code to provide the intended set of
delays.

Fixes: e9d338a0 ("scftorture: Add smp_call_function() torture test")
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 99d6a2ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment