> 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- From: KAMEZAWA Hiroyuki <[email protected]>
- Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- References:
- [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- From: KAMEZAWA Hiroyuki <[email protected]>
- Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- From: Andi Kleen <[email protected]>
- Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- From: KAMEZAWA Hiroyuki <[email protected]>
- [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- Prev by Date: Re: [patch 1/1] PM: Adds remount fs ro at suspend
- Next by Date: Re: [patch 1/1] PM: Adds remount fs ro at suspend
- Previous by thread: Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- Next by thread: Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- Index(es):