aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/vmscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index ca81d0d05c09..20c5fa8eca46 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1208,8 +1208,8 @@ static unsigned long shrink_inactive_list(unsigned long max_scan,
1208 SetPageLRU(page); 1208 SetPageLRU(page);
1209 lru = page_lru(page); 1209 lru = page_lru(page);
1210 add_page_to_lru_list(zone, page, lru); 1210 add_page_to_lru_list(zone, page, lru);
1211 if (PageActive(page)) { 1211 if (is_active_lru(lru)) {
1212 int file = !!page_is_file_cache(page); 1212 int file = !!is_file_lru(lru);
1213 reclaim_stat->recent_rotated[file]++; 1213 reclaim_stat->recent_rotated[file]++;
1214 } 1214 }
1215 if (!pagevec_add(&pvec, page)) { 1215 if (!pagevec_add(&pvec, page)) {