rcutorture: Print message before invoking ->cb_barrier()
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 6 Dec 2021 23:12:14 +0000 (15:12 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Feb 2022 01:24:38 +0000 (17:24 -0800)
commit6f81bd6a4e305d15d9c2a6a350e2876a7a814d7e
treedb4957b30545ff3eeb24345f228f2da6129fde7c
parentda123016ca8cb5697366c0b2dd55059b976e67e4
rcutorture: Print message before invoking ->cb_barrier()

The various ->cb_barrier() functions, for example, rcu_barrier(),
sometimes cause rcutorture hangs.  But currently, the last console
message is the unenlightening "Stopping rcu_torture_stats".  This commit
therefore prints a message of the form "rcu_torture_cleanup: Invoking
rcu_barrier+0x0/0x1e0()" to help point people in the right direction.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c