[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1005191444230.5729@router.home>
Date: Wed, 19 May 2010 14:45:01 -0500 (CDT)
From: Christoph Lameter <cl@...ux.com>
To: Pekka Enberg <penberg@...helsinki.fi>
cc: David Woodhouse <dwmw2@...radead.org>,
Herbert Xu <herbert@...dor.hengli.com.au>,
manfred@...orfullife.com, David Miller <davem@...emloft.net>,
mpm@...enic.com, ken@...elabs.ch, geert@...ux-m68k.org,
michael-dev@...i-braun.de, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, anemo@....ocn.ne.jp
Subject: Re: [PATCH 1/4] mm: Move ARCH_SLAB_MINALIGN and ARCH_KMALLOC_MINALIGN
to <linux/slab_def.h>
On Wed, 19 May 2010, Pekka Enberg wrote:
> Christoph Lameter wrote:
> > Maybe we can consolidate that into slab.h so that the alignment is the
> > same for all allocators?
>
> But we don't want that for SLOB as discussed in the other thread. It really
> wants to be sizeof(unsigned long), not sizeof(unsigned long long).
__alignof__(unsigned long long)
SLOB needs to respect that as well otherwise objects are not aligned as
required by the compiler.
--
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