|
@@ -2775,7 +2775,7 @@ loop_again:
|
|
if (total_scanned && (sc.priority < DEF_PRIORITY - 2)) {
|
|
if (total_scanned && (sc.priority < DEF_PRIORITY - 2)) {
|
|
if (has_under_min_watermark_zone)
|
|
if (has_under_min_watermark_zone)
|
|
count_vm_event(KSWAPD_SKIP_CONGESTION_WAIT);
|
|
count_vm_event(KSWAPD_SKIP_CONGESTION_WAIT);
|
|
- else
|
|
|
|
|
|
+ else if (unbalanced_zone)
|
|
wait_iff_congested(unbalanced_zone, BLK_RW_ASYNC, HZ/10);
|
|
wait_iff_congested(unbalanced_zone, BLK_RW_ASYNC, HZ/10);
|
|
}
|
|
}
|
|
|
|
|