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

From: Steven Rostedt
Date: Mon Apr 10 2017 - 14:16:39 EST


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>
>

Thank you very much!

-- Steve