diff --git a/mm/vmscan.c b/mm/vmscan.c index da5a52ca32286dbf86f8a0425f383b47b31b8f19..3313d48a6811e3f3cdbeeb20d1cef245435c431d 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1182,7 +1182,7 @@ static unsigned long shrink_page_list(struct list_head *page_list, struct scan_control *sc, enum ttu_flags ttu_flags, struct reclaim_stat *stat, - bool force_reclaim) + bool ignore_references) { LIST_HEAD(ret_pages); LIST_HEAD(free_pages); @@ -1202,7 +1202,7 @@ static unsigned long shrink_page_list(struct list_head *page_list, struct address_space *mapping; struct page *page; int may_enter_fs; - enum page_references references = PAGEREF_RECLAIM_CLEAN; + enum page_references references = PAGEREF_RECLAIM; bool dirty, writeback; cond_resched(); @@ -1334,7 +1334,7 @@ static unsigned long shrink_page_list(struct list_head *page_list, } } - if (!force_reclaim) + if (!ignore_references) references = page_check_references(page, sc); switch (references) {