Skip to content
Commit 02b51a1c authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcutorture: Add end-of-test check to rcu_torture_fwd_prog() loop



The second and subsequent forward-progress kthreads loop waiting for
the first forward-progress kthread to start the next test interval.
Unfortunately, if the test ends while one of those kthreads is waiting,
the test will hang.  This hang occurs because that wait loop fails to
check for the end of the test.  This commit therefore adds an end-of-test
check to that wait loop.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent e22ef8df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment