summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKazuhisa Ichikawa <ki@epsilou.com>2010-01-16 02:01:20 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-16 21:15:38 +0100
commitd2dbe08ddceb4ba2b274abb84326d7e69d454e5c (patch)
tree7b363c03dc6441b3fe6ebdcacd892cbd09b04f29 /include
parentkfifo: document everywhere that size has to be power of two (diff)
downloadlinux-d2dbe08ddceb4ba2b274abb84326d7e69d454e5c.tar.xz
linux-d2dbe08ddceb4ba2b274abb84326d7e69d454e5c.zip
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 <ki@epsilou.com> Acked-by: David Rientjes <rientjes@google.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions