Re: [PATCH] cpuset,mm: fix allocating page cache/slab object on theunallowed node when memory spread is set

From: Christoph Lameter
Date: Wed Dec 31 2008 - 17:55:20 EST


On Tue, 30 Dec 2008, Andrew Morton wrote:

> d) How does slub handle this problem?

SLUB understands memory policies to apply to the pages from which
objects are acquired. MPOL_INTERLEAVE applies to the pages acquired
by the allocator not to individual objects acquired by the user of the
allocator from these pages.

With that point of view most of the memory policy handling can be pushed
into the page allocator.


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