|
@@ -2106,6 +2106,7 @@ restart:
|
|
first_zones_zonelist(zonelist, high_zoneidx, NULL,
|
|
first_zones_zonelist(zonelist, high_zoneidx, NULL,
|
|
&preferred_zone);
|
|
&preferred_zone);
|
|
|
|
|
|
|
|
+rebalance:
|
|
/* This is the last chance, in general, before the goto nopage. */
|
|
/* This is the last chance, in general, before the goto nopage. */
|
|
page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist,
|
|
page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist,
|
|
high_zoneidx, alloc_flags & ~ALLOC_NO_WATERMARKS,
|
|
high_zoneidx, alloc_flags & ~ALLOC_NO_WATERMARKS,
|
|
@@ -2113,7 +2114,6 @@ restart:
|
|
if (page)
|
|
if (page)
|
|
goto got_pg;
|
|
goto got_pg;
|
|
|
|
|
|
-rebalance:
|
|
|
|
/* Allocate without watermarks if the context allows */
|
|
/* Allocate without watermarks if the context allows */
|
|
if (alloc_flags & ALLOC_NO_WATERMARKS) {
|
|
if (alloc_flags & ALLOC_NO_WATERMARKS) {
|
|
page = __alloc_pages_high_priority(gfp_mask, order,
|
|
page = __alloc_pages_high_priority(gfp_mask, order,
|