rcu: Print correct in print_one_rcu_pending
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Liu Song
My kernel version is 4.4.166 and I found incorrect print info from
print_one_rcu_pending. Adjust the description to make the information correct.Signed-off-by Liu Song <[email protected]>
This does not apply to mainline because debugfs tracing has been removed.
Please do feel free to send it to -stable, though I have no idea what the -stable folks do about fixes to things that are no longer in mainline. In that case, it is clear that the rule about waiting until it gets to mainline isn't appropriate. ;-)
Thanx, Paul
Quoted 20 lines
--- kernel/rcu/tree_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/rcu/tree_trace.c +1
-1@@ -365,7 +365,7 @@ static void print_one_rcu_pending(struct seq_file *m, struct rcu_data *rdp) rdp->n_rp_report_qs, rdp->n_rp_cb_ready, rdp->n_rp_cpu_needs_gp); - seq_printf(m, "gpc=%ld gps=%ld nn=%ld ndw%ld\n", + seq_printf(m, "gpc=%ld gps=%ld ndw=%ld nn=%ld\n", rdp->n_rp_gp_completed, rdp->n_rp_gp_started, rdp->n_rp_nocb_defer_wakeup,Signature · 1 line
2.19.1