]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/vmscan.c
It's possible a zone watermark is ok when entering the balance_pgdat()
[karo-tx-linux.git] / mm / vmscan.c
index c9a97ac0d554df7db7f99a3829344b6adb468f2c..0ba2b502c474a4d94cad72209399f1b27cf1813d 100644 (file)
@@ -2761,6 +2761,8 @@ out:
 
                        /* If balanced, clear the congested flag */
                        zone_clear_flag(zone, ZONE_CONGESTED);
+                       if (i <= *classzone_idx)
+                               balanced += zone->present_pages;
                }
        }