aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r--mm/vmscan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 40fb37828e8c..8e477b1a4838 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1280,8 +1280,9 @@ refill_inactive_zone(struct zone *zone, struct scan_control *sc)
1280 prefetchw_prev_lru_page(page, &l_inactive, flags); 1280 prefetchw_prev_lru_page(page, &l_inactive, flags);
1281 BUG_ON(PageLRU(page)); 1281 BUG_ON(PageLRU(page));
1282 SetPageLRU(page); 1282 SetPageLRU(page);
1283 if (!TestClearPageActive(page)) 1283 BUG_ON(!PageActive(page));
1284 BUG(); 1284 ClearPageActive(page);
1285
1285 list_move(&page->lru, &zone->inactive_list); 1286 list_move(&page->lru, &zone->inactive_list);
1286 pgmoved++; 1287 pgmoved++;
1287 if (!pagevec_add(&pvec, page)) { 1288 if (!pagevec_add(&pvec, page)) {