Re: Redundant zonelist initialization
From: Martin J. Bligh <hidden>
Date: 2003-05-08 12:22:47
--On Thursday, May 08, 2003 13:23:39 +0200 Andi Kleen [off-list ref] wrote:
When booting 2.5.69 on a 4 Node CONFIG_DISCONTIGMEM machine I get: Building zonelist for node : 0 Building zonelist for node : 1 Building zonelist for node : 2 Building zonelist for node : 3 Building zonelist for node : 0 Building zonelist for node : 0 Building zonelist for node : 0 Building zonelist for node : 0 Why does it initialize the zonelist for node 0 five times?
Looks like you have numnodes wrong ...
void __init build_all_zonelists(void)
{
int i;
for(i = 0 ; i < numnodes ; i++)
build_zonelists(NODE_DATA(i));
}
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>