From: Yinghai Lu Date: Mon, 9 Jun 2008 02:39:16 +0000 (-0700) Subject: mm, x86: shrink_active_range() should check all X-Git-Tag: v2.6.27-rc1~1106^2~247^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc1a9d86ce989083703c4bdc11b75a87e1cc404a;p=pandora-kernel.git mm, x86: shrink_active_range() should check all Now we are using register_e820_active_regions() instead of add_active_range() directly. So end_pfn could be different between the value in early_node_map to node_end_pfn. So we need to make shrink_active_range() smarter. shrink_active_range() is a generic MM function in mm/page_alloc.c but it is only used on 32-bit x86. Should we move it back to some file in arch/x86? Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed