Re: [PATCH 2/7 v3] tracing: Replace the per_cpu() with __this_cpu*() in trace_stack.c

From: Paul E. McKenney
Date: Mon Apr 10 2017 - 14:31:36 EST


On Mon, Apr 10, 2017 at 02:20:34PM -0400, Steven Rostedt wrote:
> On Mon, 10 Apr 2017 11:15:15 -0700
> "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> wrote:
>
> > On Mon, Apr 10, 2017 at 02:10:07PM -0400, Steven Rostedt wrote:
> > > From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>
> > >
> > > The updates to the trace_active per cpu variable can be updated with the
> > > __this_cpu_*() functions as it only gets updated on the CPU that the variable
> > > is on.
> > >
> > > Thanks to Paul McKenney for suggesting __this_cpu_* instead of this_cpu_*.
> > >
> > > Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
> >
> > Acked-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> >
>
> Paul, I added your ack on 7/7 as well. Is that fine with you. Also, did
> you want me to keep your ack on this one?

Yes to both. Our emails crossed. ;-)

Thanx, Paul