[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0607260451250.4021@schroedinger.engr.sgi.com>
Date: Wed, 26 Jul 2006 04:55:24 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Pekka J Enberg <penberg@...helsinki.fi>
cc: Heiko Carstens <heiko.carstens@...ibm.com>,
Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org
Subject: Re: [patch] slab: always follow arch requested alignments
On Wed, 26 Jul 2006, Pekka J Enberg wrote:
> On Wed, 26 Jul 2006, Pekka J Enberg wrote:
> > Note that this will fix the kmem_cache_init() case too. If
> > ARCH_KMALLOC_MINALIGN is greater than BYTES_PER_WORD, we'll disable
> > debugging for those caches. It's obviously ok to have debugging for
> > kmem_cache_init caches too if ARCH_KMALLOC_MINALIGN is greater than or
> > equal to BYTES_PER_WORD.
>
> Eh, meant "if ARCH_KMALLOC_MINALIGN is less than or equal to
> BYTES_PER_WORD" obviously.
Your patch only deals with ARCH_SLAB_MINALIGN. kmem_cache_create() never
uses ARCH_KMALLOC_MINALIGN only kmem_cache_init() does by passing it to
kmem_cache_create. ARCH_KMALLOC_MINALIGN will still be ignored.
-
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