From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id D21B46B007D for ; Tue, 24 Nov 2009 12:00:39 -0500 (EST) Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e7.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id nAOGuEsh005960 for ; Tue, 24 Nov 2009 11:56:14 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nAOH0Y96266480 for ; Tue, 24 Nov 2009 12:00:34 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nAOH0Xe9016159 for ; Tue, 24 Nov 2009 12:00:34 -0500 Date: Tue, 24 Nov 2009 09:00:32 -0800 From: "Paul E. McKenney" Subject: Re: lockdep complaints in slab allocator Message-ID: <20091124170032.GC6831@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <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> <1259003425.17871.328.camel@calx> <4B0ADEF5.9040001@cs.helsinki.fi> <1259080406.4531.1645.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1259080406.4531.1645.camel@laptop> Sender: owner-linux-mm@kvack.org To: Peter Zijlstra Cc: Pekka Enberg , Matt Mackall , linux-mm@kvack.org, cl@linux-foundation.org, LKML , Nick Piggin List-ID: On Tue, Nov 24, 2009 at 05:33:26PM +0100, Peter Zijlstra wrote: > On Mon, 2009-11-23 at 21:13 +0200, Pekka Enberg wrote: > > Matt Mackall wrote: > > > This seems like a lot of work to paper over a lockdep false positive in > > > code that should be firmly in the maintenance end of its lifecycle? I'd > > > rather the fix or papering over happen in lockdep. > > > > True that. Is __raw_spin_lock() out of question, Peter?-) Passing the > > state is pretty invasive because of the kmem_cache_free() call in > > slab_destroy(). We re-enter the slab allocator from the outer edges > > which makes spin_lock_nested() very inconvenient. > > I'm perfectly fine with letting the thing be as it is, its apparently > not something that triggers very often, and since slab will be killed > off soon, who cares. Which of the alternatives to slab should I be testing with, then? [Ducks, runs away.] Thanx, Paul -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org