diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-04-15 23:50:05 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-28 18:06:09 +0200 |
commit | 3432d765c59ba026de49bd4f1f0c2adeff0e7a16 (patch) | |
tree | 2c68bf2e04c85af0d6dfd43d0b7390b8c070ab42 /kernel/rcu/rcu.h | |
parent | rcutorture: Give the scheduler a chance on PREEMPT && NO_HZ_FULL kernels (diff) | |
download | linux-3432d765c59ba026de49bd4f1f0c2adeff0e7a16.tar.xz linux-3432d765c59ba026de49bd4f1f0c2adeff0e7a16.zip |
rcutorture: Halt forward-progress checks at end of run
Once removed, an rcu_torture element can be deferred-freed by a chain
of call_rcu() invocations, with each callback invoking another round of
call_rcu() until either a fixed number of call_rcu() invocations have
been chained or until the test ends. This means that if the test ends,
some of the rcu_torture elements will be "stranded" partway through the
deferred-free process, which results in false-positive warnings from
rcu_torture_writer() due to lack of forward progress should the test
end just at the end of a stutter interval.
This commit therefore suppresses rcu_torture_writer()'s forward-progress
checks when the test ends in order to avoid these false-positive reports..
Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/rcu/rcu.h')
0 files changed, 0 insertions, 0 deletions