From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount Date: Sun, 1 Sep 2013 08:55:56 -0700 Message-ID: References: <1375758759-29629-1-git-send-email-Waiman.Long@hp.com> <1375758759-29629-2-git-send-email-Waiman.Long@hp.com> <1377751465.4028.20.camel@pasglop> <20130829070012.GC27322@gmail.com> <52200DAE.2020303@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Waiman Long , Ingo Molnar , Benjamin Herrenschmidt , Alexander Viro , Jeff Layton , Miklos Szeredi , Ingo Molnar , Thomas Gleixner , linux-fsdevel , Linux Kernel Mailing List , Peter Zijlstra , Steven Rostedt , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" To: Sedat Dilek Return-path: Received: from mail-vc0-f177.google.com ([209.85.220.177]:42154 "EHLO mail-vc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755995Ab3IAPz5 (ORCPT ); Sun, 1 Sep 2013 11:55:57 -0400 In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sun, Sep 1, 2013 at 8:45 AM, Sedat Dilek wrote: > > Samples: 160K of event 'cycles:pp', Event count (approx.): 77003901089 > + 12,46% t_lockref_from- [kernel.kallsyms] [k] irq_return > + 4,86% t_lockref_from- [kernel.kallsyms] [k] lockref_get_or_lock > + 4,42% t_lockref_from- [kernel.kallsyms] [k] __ticket_spin_lock > + 4,28% t_lockref_from- [kernel.kallsyms] [k] __acct_update_integrals You need to go into __ticket_spin_lock to see who the callers are. Just go down to it and press enter to expand it (and then you need to go and expand that entry too to get the callers) I still don't know how you get to irq_return. It should use sysret. Odd. Linus