From: Yinghai Lu Date: Mon, 21 Feb 2011 09:58:13 +0000 (+0100) Subject: x86-64, NUMA: Do not scan two times for setup_node_bootmem() X-Git-Tag: v2.6.39-rc1~499^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69efcc6d90d234a3a076afb2c635c1609536faa4;p=pandora-kernel.git x86-64, NUMA: Do not scan two times for setup_node_bootmem() By the time setup_node_bootmem() is called, all the memblocks are already registered. As node_data is allocated from these memblocks, calling it more than once doesn't make any difference. Drop the loop. tj: Dropped comment referencing to the old behavior as suggested by David and rephrased the description. Signed-off-by: Yinghai Lu Acked-by: David Rientjes Signed-off-by: Tejun Heo --- Reading git-diff-tree failed