Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265978AbUIIPtA (ORCPT ); Thu, 9 Sep 2004 11:49:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265973AbUIIPsN (ORCPT ); Thu, 9 Sep 2004 11:48:13 -0400 Received: from ozlabs.org ([203.10.76.45]:53180 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S265999AbUIIPpj (ORCPT ); Thu, 9 Sep 2004 11:45:39 -0400 Date: Fri, 10 Sep 2004 01:43:00 +1000 From: Anton Blanchard To: Zwane Mwaikambo Cc: Paul Mackerras , Linux Kernel , Andrew Morton , Linus Torvalds , William Lee Irwin III , Matt Mackall , "Nakajima, Jun" Subject: Re: [PATCH][5/8] Arch agnostic completely out of line locks / ppc64 Message-ID: <20040909154259.GE11358@krispykreme> References: <16703.60725.153052.169532@cargo.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040818i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 606 Lines: 14 > I think that bit is actually intentional since __preempt_spin_lock is also > marked __sched so that it'll get charged as a scheduling function. Yeah, its a bit unfortunate. In profiles with preempt on we end up with almost all our ticks inside __preempt_spin_lock and never get to use the nice profile_pc code. I ended up turning preempt off again. Anton - 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/