diff options
author | 2020-12-18 13:17:37 -0800 | |
---|---|---|
committer | 2021-01-06 16:25:00 -0800 | |
commit | 3d0cef50f32e2bc69f60909584c18623bba9a6c6 (patch) | |
tree | 3f52633e86e2a8b3a4fcd55f1add68b215c12778 | |
parent | rcu/nocb: Add grace period and task state to show_rcu_nocb_state() output (diff) | |
download | linux-3d0cef50f32e2bc69f60909584c18623bba9a6c6.tar.gz linux-3d0cef50f32e2bc69f60909584c18623bba9a6c6.tar.bz2 linux-3d0cef50f32e2bc69f60909584c18623bba9a6c6.zip |
rcu/nocb: Add nocb CB kthread list to show_rcu_nocb_state() output
This commit improves debuggability by indicating laying out the order
in which rcuoc kthreads appear in the ->nocb_next_cb_rdp list.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r-- | kernel/rcu/tree_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 5ee1113fbf39..bc63a6b9d532 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -2730,6 +2730,7 @@ static void show_rcu_nocb_state(struct rcu_data *rdp) sprintf(bufr, "%ld", rsclp->gp_seq[RCU_NEXT_READY_TAIL]); pr_info(" CB %d^%d->%d %c%c%c%c%c%c F%ld L%ld C%d %c%c%s%c%s%c%c q%ld %c CPU %d%s\n", rdp->cpu, rdp->nocb_gp_rdp->cpu, + rdp->nocb_next_cb_rdp ? rdp->nocb_next_cb_rdp->cpu : -1, "kK"[!!rdp->nocb_cb_kthread], "bB"[raw_spin_is_locked(&rdp->nocb_bypass_lock)], "cC"[!!atomic_read(&rdp->nocb_lock_contended)], |