aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/vmscan.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 518540a4a2a6..2e97baa3b2aa 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1172,11 +1172,12 @@ loop_again:
1172 if (!zone_watermark_ok(zone, order, zone->pages_high, 1172 if (!zone_watermark_ok(zone, order, zone->pages_high,
1173 0, 0)) { 1173 0, 0)) {
1174 end_zone = i; 1174 end_zone = i;
1175 goto scan; 1175 break;
1176 } 1176 }
1177 } 1177 }
1178 goto out; 1178 if (i < 0)
1179scan: 1179 goto out;
1180
1180 for (i = 0; i <= end_zone; i++) { 1181 for (i = 0; i <= end_zone; i++) {
1181 struct zone *zone = pgdat->node_zones + i; 1182 struct zone *zone = pgdat->node_zones + i;
1182 1183