Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

Andi Kleen
2007-02-07T11:32:48Z

> How for_each_online_node(nid) works ? it can handle alias-nid ?
>
> ==
> for_each_online_node(nid) {
> pgdat = NODE_DATA(nid);
> ==
> This code never accesses pgdat_for_A twice ?

It would. If there's a problem it could be changed to walk the pgdat lists instead,
but at least when x86-64 still did it there wasn't.

-Andi