Re: iwlagn: order 2 page allocation failures

From: Christoph Lameter
Date: Mon Sep 14 2009 - 11:44:28 EST


On Mon, 14 Sep 2009, Zhu Yi wrote:

> BTW, does SLAB/SLUB guarantee size of multiple PAGE_SIZE __kmalloc()
> allocation align on PAGE_SIZE (or 256 bytes) boundary?

Page allocators guarantee page aligned data. Slab allocators do not.

You can create a slab that aligns objects on 256 byte boundary if you
want.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/