]> err.no Git - linux-2.6/commit
sh: Default to 4-byte alignment for SLUB objects.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2007 06:46:56 +0000 (15:46 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Fri, 8 Jun 2007 02:43:48 +0000 (02:43 +0000)
commitcbd2d9d8fcd9d2a46d71d0703a76773c20383c66
treeda3ae3e0b4f5ae87488c111ae5e3153031fccadd
parentf11b71e6578fbe8e059c51f5d2de223a3804507a
sh: Default to 4-byte alignment for SLUB objects.

Slub currently defaults to 8-byte alignment for the kmalloc
and slab minalign values, where 4 will suffice. In the slab
case BYTES_PER_WORD == 4 already, so defining the minalign
values outright doesn't cause any regressions there either.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/page.h