summaryrefslogtreecommitdiffstats
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, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index a2214c64ed3c..637b0e907df0 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2491,7 +2491,7 @@ int __isolate_free_page(struct page *page, unsigned int order)
2491 if (!is_migrate_isolate(mt)) { 2491 if (!is_migrate_isolate(mt)) {
2492 /* Obey watermarks as if the page was being allocated */ 2492 /* Obey watermarks as if the page was being allocated */
2493 watermark = low_wmark_pages(zone) + (1 << order); 2493 watermark = low_wmark_pages(zone) + (1 << order);
2494 if (!zone_watermark_ok(zone, 0, watermark, 0, 0)) 2494 if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA))
2495 return 0; 2495 return 0;
2496 2496
2497 __mod_zone_freepage_state(zone, -(1UL << order), mt); 2497 __mod_zone_freepage_state(zone, -(1UL << order), mt);