Commit 6d428989 authored by Andrew Morton's avatar Andrew Morton Committed by James Toy

Revert the 2.6.31 patch "hugetlb: restore interleaving of bootmem huge

pages (2.6.31)" to make way for a more extensive fix

Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: David Rientjes <rientjes@google.com>
Cc: Adam Litke <agl@us.ibm.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Eric Whitney <eric.whitney@hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent fd3f8d49
......@@ -1011,7 +1011,6 @@ int __weak alloc_bootmem_huge_page(struct hstate *h)
NODE_DATA(h->hugetlb_next_nid),
huge_page_size(h), huge_page_size(h), 0);
hstate_next_node(h);
if (addr) {
/*
* Use the beginning of the huge page to store the
......@@ -1021,6 +1020,7 @@ int __weak alloc_bootmem_huge_page(struct hstate *h)
m = addr;
goto found;
}
hstate_next_node(h);
nr_nodes--;
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment