aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 2cff0d491c6d..758540d3ca83 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -3237,7 +3237,7 @@ void wakeup_kswapd(struct zone *zone, int order, enum zone_type classzone_idx)
3237 } 3237 }
3238 if (!waitqueue_active(&pgdat->kswapd_wait)) 3238 if (!waitqueue_active(&pgdat->kswapd_wait))
3239 return; 3239 return;
3240 if (zone_watermark_ok_safe(zone, order, low_wmark_pages(zone), 0, 0)) 3240 if (zone_balanced(zone, order, 0, 0))
3241 return; 3241 return;
3242 3242
3243 trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, zone_idx(zone), order); 3243 trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, zone_idx(zone), order);