From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752268AbaATMI7 (ORCPT ); Mon, 20 Jan 2014 07:08:59 -0500 Received: from merlin.infradead.org ([205.233.59.134]:54793 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752094AbaATMIz (ORCPT ); Mon, 20 Jan 2014 07:08:55 -0500 Date: Mon, 20 Jan 2014 13:07:56 +0100 From: Peter Zijlstra To: Tim Chen Cc: Ingo Molnar , Andrew Morton , Thomas Gleixner , "Paul E.McKenney" , Will Deacon , linux-kernel@vger.kernel.org, linux-mm , linux-arch@vger.kernel.org, Linus Torvalds , Waiman Long , Andrea Arcangeli , Alex Shi , Andi Kleen , Michel Lespinasse , Davidlohr Bueso , Matthew R Wilcox , Dave Hansen , Rik van Riel , Peter Hurley , Raghavendra K T , George Spelvin , "H. Peter Anvin" , Arnd Bergmann , Aswin Chandramouleeswaran , Scott J Norton , "Figo.zhang" Subject: Re: [PATCH v7 1/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file Message-ID: <20140120120756.GB31570@twins.programming.kicks-ass.net> References: <1389917296.3138.11.camel@schen9-DESK> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1389917296.3138.11.camel@schen9-DESK> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 16, 2014 at 04:08:16PM -0800, Tim Chen wrote: > +/* > + * We don't inline mcs_spin_lock() so that perf can correctly account for the > + * time spent in this lock function. > + */ > +static noinline > +void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node) But given a vmlinux with sufficient DWARFs in, the IP will resolve to a .ista. symbol, no?