Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750769AbWIFHsH (ORCPT ); Wed, 6 Sep 2006 03:48:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751509AbWIFHsG (ORCPT ); Wed, 6 Sep 2006 03:48:06 -0400 Received: from smtp.osdl.org ([65.172.181.4]:17869 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750769AbWIFHsF (ORCPT ); Wed, 6 Sep 2006 03:48:05 -0400 Date: Wed, 6 Sep 2006 00:47:24 -0700 From: Andrew Morton To: Heiko Carstens Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Arjan van de Ven , Daniel Walker , Hua Zhong Subject: Re: lockdep oddity Message-Id: <20060906004724.e52d45a2.akpm@osdl.org> In-Reply-To: <20060906072043.GC6898@osiris.boeblingen.de.ibm.com> References: <20060901015818.42767813.akpm@osdl.org> <20060905130356.GB6940@osiris.boeblingen.de.ibm.com> <20060905181241.GC16207@elte.hu> <20060906072043.GC6898@osiris.boeblingen.de.ibm.com> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 19 On Wed, 6 Sep 2006 09:20:43 +0200 Heiko Carstens wrote: > I'm also wondering why the profile > patch contains this: > > + if (ret) > + likeliness->count[1]++; > + else > + likeliness->count[0]++; > > This isn't smp safe. Is that on purpose or a bug? Purposeful. This is called from all contexts, including NMI. - 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/