diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 0a8dc0dbd7da534e8ef8e4fb6d2114093c9ae35e..96e700b55219ce56aafd61a2e3d03587cc03530e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -7700,9 +7700,9 @@ static void __setup_per_zone_wmarks(void) mult_frac(zone->managed_pages, watermark_scale_factor, 10000)); + zone->watermark_boost = 0; zone->_watermark[WMARK_LOW] = min_wmark_pages(zone) + tmp; zone->_watermark[WMARK_HIGH] = min_wmark_pages(zone) + tmp * 2; - zone->watermark_boost = 0; spin_unlock_irqrestore(&zone->lock, flags); }