Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755914AbZKWTnb (ORCPT ); Mon, 23 Nov 2009 14:43:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754499AbZKWTna (ORCPT ); Mon, 23 Nov 2009 14:43:30 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:47127 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbZKWTna (ORCPT ); Mon, 23 Nov 2009 14:43:30 -0500 Date: Mon, 23 Nov 2009 11:43:34 -0800 From: "Paul E. McKenney" To: Christoph Lameter Cc: Pekka Enberg , Peter Zijlstra , linux-mm@kvack.org, mpm@selenic.com, LKML , Nick Piggin Subject: Re: lockdep complaints in slab allocator Message-ID: <20091123194334.GD6774@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20091118181202.GA12180@linux.vnet.ibm.com> <84144f020911192249l6c7fa495t1a05294c8f5b6ac8@mail.gmail.com> <1258709153.11284.429.camel@laptop> <84144f020911200238w3d3ecb38k92ca595beee31de5@mail.gmail.com> <1258714328.11284.522.camel@laptop> <4B067816.6070304@cs.helsinki.fi> <1258729748.4104.223.camel@laptop> <1259002800.5630.1.camel@penberg-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 724 Lines: 17 On Mon, Nov 23, 2009 at 01:30:50PM -0600, Christoph Lameter wrote: > On Mon, 23 Nov 2009, Pekka Enberg wrote: > > > That turns out to be _very_ hard. How about something like the following > > untested patch which delays slab_destroy() while we're under nc->lock. > > Code changes to deal with a diagnostic issue? Indeed! At least if we want the diagnostics to have any value, we do need to avoid false alarms. Same reasoning as for gcc warnings, right? Thanx, Paul -- 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/