From: Kazuhisa Ichikawa Date: Sat, 16 Jan 2010 01:01:20 +0000 (-0800) Subject: mm/page_alloc: fix the range check for backward merging X-Git-Tag: v2.6.33-rc5~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2dbe08ddceb4ba2b274abb84326d7e69d454e5c;p=pandora-kernel.git mm/page_alloc: fix the range check for backward merging The current check for 'backward merging' within add_active_range() does not seem correct. start_pfn must be compared against early_node_map[i].start_pfn (and NOT against .end_pfn) to find out whether the new region is backward-mergeable with the existing range. Signed-off-by: Kazuhisa Ichikawa Acked-by: David Rientjes Cc: KOSAKI Motohiro Cc: Mel Gorman Cc: Christoph Lameter Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed