From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx191.postini.com [74.125.245.191]) by kanga.kvack.org (Postfix) with SMTP id 7D4396B0071 for ; Tue, 10 Jul 2012 19:31:08 -0400 (EDT) Date: Tue, 10 Jul 2012 18:31:05 -0500 (CDT) From: Christoph Lameter Subject: Re: linux-next: Early crashed kernel on CONFIG_SLOB In-Reply-To: Message-ID: References: <20120710111756.GA11351@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: "wfg@linux.intel.com" , Pekka Enberg , Linux Memory Management List , LKML Here is the patch: Subject: slob: Undo slob hunk Commit fd3142a59af2012a7c5dc72ec97a4935ff1c5fc6 broke slob since a piece of a change for a later patch slipped into it. Signed-off-by: Christoph Lameter --- mm/slob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/mm/slob.c =================================================================== --- linux-2.6.orig/mm/slob.c 2012-07-06 08:38:18.851205889 -0500 +++ linux-2.6/mm/slob.c 2012-07-06 08:38:47.259205237 -0500 @@ -516,7 +516,7 @@ struct kmem_cache *kmem_cache_create(con if (c) { c->name = name; - c->size = c->object_size; + c->size = size; if (flags & SLAB_DESTROY_BY_RCU) { /* leave room for rcu footer at the end of object */ c->size += sizeof(struct slob_rcu); -- 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