mm/vmscan: restore active/inactive ratio for anonymous LRU
[sfrench/cifs-2.6.git] / mm / vmscan.c
index 66d73fea80e4ad3c13a3537242f2481bdc89d877..846b7e9b8d2eeccdd3fd8db56511e3a9f5787401 100644 (file)
@@ -2207,7 +2207,7 @@ static bool inactive_is_low(struct lruvec *lruvec, enum lru_list inactive_lru)
        active = lruvec_page_state(lruvec, NR_LRU_BASE + active_lru);
 
        gb = (inactive + active) >> (30 - PAGE_SHIFT);
-       if (gb && is_file_lru(inactive_lru))
+       if (gb)
                inactive_ratio = int_sqrt(10 * gb);
        else
                inactive_ratio = 1;