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

Christoph Lameter
2008-12-31T22:53:44Z

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.