From: Tejun Heo Date: Mon, 2 May 2011 12:18:52 +0000 (+0200) Subject: x86-32, NUMA: use sparse_memory_present_with_active_regions() X-Git-Tag: v3.0-rc1~396^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=797390d8554b1e07aabea37d0140933b0412dba0;p=pandora-kernel.git x86-32, NUMA: use sparse_memory_present_with_active_regions() Instead of calling memory_present() for each region from NUMA init, call sparse_memory_present_with_active_regions() from paging_init() similarly to x86-64. For flat and numaq, this results in exactly the same memory_present() calls. For srat, if there are multiple memory chunks for a node, after this change, memory_present() will be called separately for each chunk instead of being called once to encompass the whole range, which doesn't cause any harm and actually is the better behavior. Signed-off-by: Tejun Heo Cc: Ingo Molnar Cc: Yinghai Lu Cc: David Rientjes Cc: Thomas Gleixner Cc: "H. Peter Anvin" --- Reading git-diff-tree failed