From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: Subject: Slab allocators: Remove kmem_cache_name() to fix invalid frees From: Matt Mackall In-Reply-To: References: Content-Type: text/plain Date: Wed, 28 May 2008 12:51:24 -0500 Message-Id: <1211997084.31329.155.camel@calx> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Pekka J Enberg , linux-mm@kvack.org, David Miller , acme List-ID: [Adding Arnaldo to cc:] On Wed, 2008-05-28 at 10:40 -0700, Christoph Lameter wrote: > Fix: > > Create special fields in the networking structs to store a pointer to > names of slab generated. The pointer is then used to free the name of > the slab after the slab was destroyed. > > Drop the support for kmem_cache_name from all slab allocators. Seems it would be better to simply allow either unnamed caches or duplicate cache names. -- Mathematics is the supreme nostalgia of our time. -- 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