aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index cd47e8f7bd5b..a840e702722c 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1180,6 +1180,7 @@ restart:
1180 1180
1181 /* This allocation should allow future memory freeing. */ 1181 /* This allocation should allow future memory freeing. */
1182 1182
1183rebalance:
1183 if (((p->flags & PF_MEMALLOC) || unlikely(test_thread_flag(TIF_MEMDIE))) 1184 if (((p->flags & PF_MEMALLOC) || unlikely(test_thread_flag(TIF_MEMDIE)))
1184 && !in_interrupt()) { 1185 && !in_interrupt()) {
1185 if (!(gfp_mask & __GFP_NOMEMALLOC)) { 1186 if (!(gfp_mask & __GFP_NOMEMALLOC)) {
@@ -1201,7 +1202,6 @@ nofail_alloc:
1201 if (!wait) 1202 if (!wait)
1202 goto nopage; 1203 goto nopage;
1203 1204
1204rebalance:
1205 cond_resched(); 1205 cond_resched();
1206 1206
1207 /* We now go into synchronous reclaim */ 1207 /* We now go into synchronous reclaim */