From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx186.postini.com [74.125.245.186]) by kanga.kvack.org (Postfix) with SMTP id 00D266B004D for ; Thu, 2 Aug 2012 11:19:24 -0400 (EDT) Date: Thu, 2 Aug 2012 10:19:22 -0500 (CDT) From: Christoph Lameter Subject: Re: Common [00/16] Sl[auo]b: Common code rework V8 In-Reply-To: Message-ID: References: <20120801211130.025389154@linux.com> <501A3F1E.4060307@parallels.com> <501A8BE4.4060206@parallels.com> <501A92FB.8020906@parallels.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Glauber Costa Cc: Pekka Enberg , linux-mm@kvack.org, David Rientjes , Joonsoo Kim On Thu, 2 Aug 2012, Christoph Lameter wrote: > On Thu, 2 Aug 2012, Glauber Costa wrote: > > > Mine is similar, except: > > 1) I don't create a kmalloc cache (shouldn't matter) > > 2) I do it after SLAB_FULL. > > I do not really need to create the second cache. > The destruction of the first fails. > > Its definitely the patch that moves the duping of the string to > slab_common.c. The problem is that I passed a string constant to create_kmalloc_cache. Freeing the cache leads to an attempt to free the string constant which causes kfree to fail. Got to take that into account and restart the problem analysis. -- 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