Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761441Ab3ICXRD (ORCPT ); Tue, 3 Sep 2013 19:17:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19260 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752466Ab3ICXRB (ORCPT ); Tue, 3 Sep 2013 19:17:01 -0400 Date: Tue, 3 Sep 2013 19:15:54 -0400 From: Dave Jones To: Sedat Dilek Cc: Linus Torvalds , 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" Subject: Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount Message-ID: <20130903231554.GA15720@redhat.com> Mail-Followup-To: Dave Jones , Sedat Dilek , Linus Torvalds , 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" References: <20130903225528.GA14909@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1379 Lines: 46 On Wed, Sep 04, 2013 at 01:05:38AM +0200, Sedat Dilek wrote: > On Wed, Sep 4, 2013 at 12:55 AM, Dave Jones wrote: > > On Wed, Sep 04, 2013 at 12:37:25AM +0200, Sedat Dilek wrote: > > > > > > You're spending more time on the task stats than on the actual lookup. > > > > Maybe you should turn off CONFIG_TASKSTATS..But why that whole > > > > irq_return thing? Odd. > > > > > > > > > > [ init/Kconfig ] > > > ... > > > config TASKSTATS > > > bool "Export task/process statistics through netlink" > > > depends on NET <--- Difficult to disable it?! > > > > More likely you're getting bitten by the fact that CONFIG_KVM has > > a 'select TASKSTATS' > > > > With CONFIG_KVM=n ... > > $ egrep 'CONFIG_NET=|CONFIG_KVM=|CONFIG_TASKSTATS' .config > CONFIG_TASKSTATS=y > CONFIG_NET=y Weird. sed -i '/TASKSTATS/d' .config sed -i '/KVM/d' .config make oldconfig ... egrep 'CONFIG_NET=|CONFIG_KVM=|CONFIG_TASKSTATS' .config # CONFIG_TASKSTATS is not set CONFIG_NET=y The NET dependancy shouldn't matter at all. I don't see any other 'select TASKSTATS' in the tree. Dave -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/