Re: [patch 2/2] enables booting a NUMA system where some nodes have no memory

Martin Bligh
2006-11-16T02:01:37Z

Christoph Lameter wrote:
> On Wed, 15 Nov 2006, Martin Bligh wrote:
>
>> All we need is an appropriate zonelist for each node, pointing to
>> the memory it should be accessing.
>
> But there is no memory on the node. Does the zonelist contain the zones of
> the node without memory or not? We simply fall back each allocation to the
> next node as if the node was overflowing?

Sure. there's no point in putting an empty zone in the zonelist.
We should just skip anything where present_pages is zero.

M.