[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1207121013320.2515@tux.localdomain>
Date: Thu, 12 Jul 2012 10:13:39 +0300 (EEST)
From: Pekka Enberg <penberg@...nel.org>
To: Christoph Lameter <cl@...ux.com>
cc: Christoph Lameter <christoph@...uxfoundation.org>,
"wfg@...ux.intel.com" <wfg@...ux.intel.com>,
Linux Memory Management List <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: Early crashed kernel on CONFIG_SLOB
On Tue, 10 Jul 2012, Christoph Lameter wrote:
> 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 <cl@...ux.com>
>
> ---
> 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);
>
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists