From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753201AbdDJSQf (ORCPT ); Mon, 10 Apr 2017 14:16:35 -0400 Received: from mail.kernel.org ([198.145.29.136]:47690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751780AbdDJSQe (ORCPT ); Mon, 10 Apr 2017 14:16:34 -0400 Date: Mon, 10 Apr 2017 14:16:29 -0400 From: Steven Rostedt To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton Subject: Re: [PATCH 2/7 v3] tracing: Replace the per_cpu() with __this_cpu*() in trace_stack.c Message-ID: <20170410141629.45ccb7a6@gandalf.local.home> In-Reply-To: <20170410181515.GV1600@linux.vnet.ibm.com> References: <20170410181005.420764935@goodmis.org> <20170410181151.010996809@goodmis.org> <20170410181515.GV1600@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Apr 2017 11:15:15 -0700 "Paul E. McKenney" wrote: > On Mon, Apr 10, 2017 at 02:10:07PM -0400, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > 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) > > Acked-by: Paul E. McKenney > Thank you very much! -- Steve