[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180515003205.GT26088@linux.vnet.ibm.com>
Date: Mon, 14 May 2018 17:32:05 -0700
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Joe Perches <joe@...ches.com>
Cc: Josh Triplett <josh@...htriplett.org>,
Steven Rostedt <rostedt@...dmis.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Lai Jiangshan <jiangshanlai@...il.com>,
Davidlohr Bueso <dave@...olabs.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 18/18] rcu: Use pr_fmt to prefix "rcu: " to logging output
On Mon, May 14, 2018 at 05:23:59PM -0700, Joe Perches wrote:
> On Mon, 2018-05-14 at 16:58 -0700, Paul E. McKenney wrote:
> > OK, so if I define pr_fmt as follows, I get the old behavior?
> >
> > #define pr_fmt(fmt) fmt
>
> yes.
OK, then I will queue patches with this for the near term for
the various torture files.
> > I just queued
> > a commit to be squashed into my version of your patch 18/18 that adds
> > this to kernel/rcu/rcu_segcblist.c. This joins the ones that your
> > patch added to kernel/rcu/srcutree.c and kernel/rcu/tree.c.
> >
> > Should I also add "#define pr_fmt(fmt) "rcu: " fmt" to these files?
> >
> > kernel/rcu/srcutiny.c
> > kernel/rcu/sync.c
> > kernel/rcu/tiny.c
>
> Well, I don't actually remember why the define
> was added to rcu_segcblist.c.
>
> Most of this was done via a script which looked
> for pr_<level> uses without a pr_fmt in the same
> file.
>
> Dunno why rcu_segcblist was modified.
> Maybe it was a braino.
So this change does not affect WARN_ON_ONCE() and friends? (That was
my guess.) If not, I will revert my squash patch.
And it could also be that the files changed between your running the
script and sending the patch.
Thanx, Paul
Powered by blists - more mailing lists