diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index e50c22545b8f..b6d0d09557ef 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1771,6 +1771,7 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order, | |||
1771 | 1771 | ||
1772 | wake_all_kswapd(order, zonelist, high_zoneidx); | 1772 | wake_all_kswapd(order, zonelist, high_zoneidx); |
1773 | 1773 | ||
1774 | restart: | ||
1774 | /* | 1775 | /* |
1775 | * OK, we're below the kswapd watermark and have kicked background | 1776 | * OK, we're below the kswapd watermark and have kicked background |
1776 | * reclaim. Now things get more complex, so set up alloc_flags according | 1777 | * reclaim. Now things get more complex, so set up alloc_flags according |
@@ -1778,7 +1779,6 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order, | |||
1778 | */ | 1779 | */ |
1779 | alloc_flags = gfp_to_alloc_flags(gfp_mask); | 1780 | alloc_flags = gfp_to_alloc_flags(gfp_mask); |
1780 | 1781 | ||
1781 | restart: | ||
1782 | /* This is the last chance, in general, before the goto nopage. */ | 1782 | /* This is the last chance, in general, before the goto nopage. */ |
1783 | page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist, | 1783 | page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist, |
1784 | high_zoneidx, alloc_flags & ~ALLOC_NO_WATERMARKS, | 1784 | high_zoneidx, alloc_flags & ~ALLOC_NO_WATERMARKS, |