Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1620591

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

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/7 v3] tracing: Replace the per_cpu() with __this_cpu*() in trace_stack.c
Date 2017-04-10 20:20 +0200
Message-ID <tuM4X-4ll-47@gated-at.bofh.it> (permalink)
References <tuM4V-4ll-3@gated-at.bofh.it> <tuM4W-4ll-7@gated-at.bofh.it> <tuM4X-4ll-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 10 Apr 2017 11:15:15 -0700
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:

> On Mon, Apr 10, 2017 at 02:10:07PM -0400, Steven Rostedt wrote:
> > From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
> > 
> > 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@goodmis.org>  
> 
> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
>

Thank you very much!

-- Steve

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/7 v3] tracing: Replace the per_cpu() with __this_cpu*() in trace_stack.c Steven Rostedt <rostedt@goodmis.org> - 2017-04-10 20:20 +0200
  Re: [PATCH 2/7 v3] tracing: Replace the per_cpu() with __this_cpu*()  in trace_stack.c "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-10 20:20 +0200
    Re: [PATCH 2/7 v3] tracing: Replace the per_cpu() with  __this_cpu*() in trace_stack.c Steven Rostedt <rostedt@goodmis.org> - 2017-04-10 20:20 +0200
    Re: [PATCH 2/7 v3] tracing: Replace the per_cpu() with  __this_cpu*() in trace_stack.c Steven Rostedt <rostedt@goodmis.org> - 2017-04-10 20:30 +0200
      Re: [PATCH 2/7 v3] tracing: Replace the per_cpu() with __this_cpu*()  in trace_stack.c "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-10 20:40 +0200

csiph-web