aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 6e62d5f9d40b..bbd0423f2820 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2027,7 +2027,8 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order,
2027 goto nopage; 2027 goto nopage;
2028 2028
2029restart: 2029restart:
2030 wake_all_kswapd(order, zonelist, high_zoneidx, 2030 if (!(gfp_mask & __GFP_NO_KSWAPD))
2031 wake_all_kswapd(order, zonelist, high_zoneidx,
2031 zone_idx(preferred_zone)); 2032 zone_idx(preferred_zone));
2032 2033
2033 /* 2034 /*