rcu/nocb: Add grace period and task state to show_rcu_nocb_state() output
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 18 Dec 2020 18:20:34 +0000 (10:20 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 7 Jan 2021 00:25:00 +0000 (16:25 -0800)
commit341690611f8d488859f42a761f5d7cbac6ba2940
treefe5f196075d51c21da1d4f9b00c89cb51fc8c5f9
parent70e8088b97211177225acf499247b3741cc8a229
rcu/nocb: Add grace period and task state to show_rcu_nocb_state() output

This commit improves debuggability by indicating which grace period each
batch of nocb callbacks is waiting on and by showing the task state and
last CPU for reach nocb kthread.

[ paulmck: Handle !SMP CB offloading per kernel test robot feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcu_segcblist.h
kernel/rcu/tree_plugin.h