* Re: [PATCH] rcu: Print correct in print_one_rcu_pending
[not found] <20181210153557.3110-1-fishland@aliyun.com>
@ 2018-12-10 18:03 ` Paul E. McKenney
0 siblings, 0 replies; only message in thread
From: Paul E. McKenney @ 2018-12-10 18:03 UTC (permalink / raw)
To: Liu Song
Cc: josh, rostedt, mathieu.desnoyers, jiangshanlai, linux-kernel,
liu.song11
On Mon, Dec 10, 2018 at 11:35:56PM +0800, Liu Song wrote:
> 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 <liu.song11@zte.com.cn>
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
> ---
> kernel/rcu/tree_trace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/rcu/tree_trace.c b/kernel/rcu/tree_trace.c
> index ef7093cc9b5c..5d0eddc9dc63 100644
> --- a/kernel/rcu/tree_trace.c
> +++ b/kernel/rcu/tree_trace.c
> @@ -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,
> --
> 2.19.1
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-10 18:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181210153557.3110-1-fishland@aliyun.com>
2018-12-10 18:03 ` [PATCH] rcu: Print correct in print_one_rcu_pending Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox