diff options
author | Yinghai Lu <yinghai@kernel.org> | 2011-02-21 10:58:13 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-21 11:23:31 +0100 |
commit | 69efcc6d90d234a3a076afb2c635c1609536faa4 (patch) | |
tree | 69c4032f04de1e9dc8add8a944b13b4f3c05814a /arch/x86/mm/Makefile | |
parent | 6d496f9f232790d44144f3784856290e0b27b8f3 (diff) | |
download | op-kernel-dev-69efcc6d90d234a3a076afb2c635c1609536faa4.zip op-kernel-dev-69efcc6d90d234a3a076afb2c635c1609536faa4.tar.gz |
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 <yinghai@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/mm/Makefile')
0 files changed, 0 insertions, 0 deletions