Skip to contentSkip to conversation

rcu: Print correct in print_one_rcu_pending

PATCH Paul E. McKenney 1 participant 1 message Dec 10, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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.

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
index ef7093cc9b5c..5d0eddc9dc63 100644
@@ -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