diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-04-27 04:20:37 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-29 21:01:44 +0200 |
commit | cae7cc6ba5bad320c2055ac54f73affd051e76ca (patch) | |
tree | d9359ea1f0089851c7fbc8c78e211853aacf8426 /tools/testing/selftests/rcutorture | |
parent | rcutorture: Handle non-statistic bang-string error messages (diff) | |
download | linux-cae7cc6ba5bad320c2055ac54f73affd051e76ca.tar.xz linux-cae7cc6ba5bad320c2055ac54f73affd051e76ca.zip |
rcutorture: NULL rcu_torture_current earlier in cleanup code
Currently, the rcu_torture_current variable remains non-NULL until after
all readers have stopped. During this time, rcu_torture_stats_print()
will think that the test is still ongoing, which can result in confusing
dmesg output. This commit therefore NULLs rcu_torture_current immediately
after the rcu_torture_writer() kthread has decided to stop, thus informing
rcu_torture_stats_print() much sooner.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
0 files changed, 0 insertions, 0 deletions