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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 3c0f69ded6b5..a9da20bc2ed0 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -729,6 +729,8 @@ should_reclaim_zone(struct zone *z, unsigned int gfp_mask)
729{ 729{
730 if (!z->reclaim_pages) 730 if (!z->reclaim_pages)
731 return 0; 731 return 0;
732 if (gfp_mask & __GFP_NORECLAIM)
733 return 0;
732 return 1; 734 return 1;
733} 735}
734 736