On Mon, Sep 14, 2009 at 11:42:15AM -0400, Christoph Lameter wrote: > 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. > The allocation of buffers >= PAGE_SIZE even when allocated with kmalloc() are page-aligned though right? It's not an explicit guarantee but is it not always the case? -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html