Re: iwlagn: order 2 page allocation failures

From: Christoph Lameter
Date: Mon Sep 14 2009 - 14:06:58 EST


On Mon, 14 Sep 2009, Mel Gorman wrote:

> 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?

Its typically the case but debug options may misalign the object. The
guarantee for kmalloc caches is to be cacheline aligned.

--
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/