Re: [Lse-tech] fix zonelist ordering for NUMA

From: Matthew Dobson <colpatch_at_us.ibm.com>
Date: 2004-02-25 06:49:56
On Tue, 2004-02-24 at 01:20, j-nomura@ce.jp.nec.com wrote:
> - 		for (node = local_node + 1; node < numnodes; node++)
> - 			j = build_zonelists_node(NODE_DATA(node), zonelist, j, k);
> - 		for (node = 0; node < local_node; node++)
> - 			j = build_zonelists_node(NODE_DATA(node), zonelist, j, k);
> + 		for (node = 1; node < numnodes; node++)
> + 			j = build_zonelists_node(SORTED_NODE_DATA(local_node, node), zonelist, j, k);

Shouldn't that for loop be:
	for (node = 0; node < numnodes; node++)
		j = ....

or we'll be leaving a node out of the zonelists, right?

-Matt

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Feb 24 14:52:15 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST