Re: [patch 07/12] Memoryless nodes: SLUB support

Andrew Morton
2007-07-12T00:07:36Z

On Wed, 11 Jul 2007 11:22:26 -0700
Christoph Lameter <clameter@sgi.com> wrote:

> Simply switch all for_each_online_node to for_each_memory_node. That way
> SLUB only operates on nodes with memory. Any allocation attempt on a
> memoryless node will fall whereupon SLUB will fetch memory from a nearby
> node (depending on how memory policies and cpuset describe fallback).
>

This is as far as I got when a reject storm hit.

> - for_each_online_node(node)
> + for_each_node_state(node, N_MEMORY)
> __kmem_cache_shrink(s, get_node(s, node), scratch);

I can find no sign of any __kmem_cache_shrink's anywhere.

Let's park all this until post-merge-window please. Generally, now is not
a good time for me to be merging 2.6.24 stuff.