rcutorture: Avoid no-test complaint if too few forward-progress tries
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 19 Jul 2018 17:57:58 +0000 (10:57 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 29 Aug 2018 16:20:48 +0000 (09:20 -0700)
commit152f4afbfd58f8ada7591113129aa6ba7fe114c5
tree97a9207b7b0494dc44ccf50fa2e8794331bb15d6
parent119248bec9d318ae41da8ab8f400f07e7a610cc3
rcutorture: Avoid no-test complaint if too few forward-progress tries

In a too-short test, random delays can cause each attempt to do
forward-progress testing to fail to complete, thus resulting in
spurious splats.  This commit therefore requires at least five tries
before complaining about rcutorture runs that failed to produce at
least one valid forward-progress testing attempt.  Note that actual
forward-progress failures will splat regardless of the number of tries.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcutorture.c