diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 15b483ef6440..c02c850ea349 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1349,7 +1349,7 @@ keep: | |||
1349 | 1349 | ||
1350 | mem_cgroup_uncharge_list(&free_pages); | 1350 | mem_cgroup_uncharge_list(&free_pages); |
1351 | try_to_unmap_flush(); | 1351 | try_to_unmap_flush(); |
1352 | free_hot_cold_page_list(&free_pages, true); | 1352 | free_unref_page_list(&free_pages); |
1353 | 1353 | ||
1354 | list_splice(&ret_pages, page_list); | 1354 | list_splice(&ret_pages, page_list); |
1355 | count_vm_events(PGACTIVATE, pgactivate); | 1355 | count_vm_events(PGACTIVATE, pgactivate); |
@@ -1824,7 +1824,7 @@ shrink_inactive_list(unsigned long nr_to_scan, struct lruvec *lruvec, | |||
1824 | spin_unlock_irq(&pgdat->lru_lock); | 1824 | spin_unlock_irq(&pgdat->lru_lock); |
1825 | 1825 | ||
1826 | mem_cgroup_uncharge_list(&page_list); | 1826 | mem_cgroup_uncharge_list(&page_list); |
1827 | free_hot_cold_page_list(&page_list, true); | 1827 | free_unref_page_list(&page_list); |
1828 | 1828 | ||
1829 | /* | 1829 | /* |
1830 | * If reclaim is isolating dirty pages under writeback, it implies | 1830 | * If reclaim is isolating dirty pages under writeback, it implies |
@@ -2063,7 +2063,7 @@ static void shrink_active_list(unsigned long nr_to_scan, | |||
2063 | spin_unlock_irq(&pgdat->lru_lock); | 2063 | spin_unlock_irq(&pgdat->lru_lock); |
2064 | 2064 | ||
2065 | mem_cgroup_uncharge_list(&l_hold); | 2065 | mem_cgroup_uncharge_list(&l_hold); |
2066 | free_hot_cold_page_list(&l_hold, true); | 2066 | free_unref_page_list(&l_hold); |
2067 | trace_mm_vmscan_lru_shrink_active(pgdat->node_id, nr_taken, nr_activate, | 2067 | trace_mm_vmscan_lru_shrink_active(pgdat->node_id, nr_taken, nr_activate, |
2068 | nr_deactivate, nr_rotated, sc->priority, file); | 2068 | nr_deactivate, nr_rotated, sc->priority, file); |
2069 | } | 2069 | } |
@@ -2082,7 +2082,7 @@ static void shrink_active_list(unsigned long nr_to_scan, | |||
2082 | * If that fails and refaulting is observed, the inactive list grows. | 2082 | * If that fails and refaulting is observed, the inactive list grows. |
2083 | * | 2083 | * |
2084 | * The inactive_ratio is the target ratio of ACTIVE to INACTIVE pages | 2084 | * The inactive_ratio is the target ratio of ACTIVE to INACTIVE pages |
2085 | * on this LRU, maintained by the pageout code. A zone->inactive_ratio | 2085 | * on this LRU, maintained by the pageout code. An inactive_ratio |
2086 | * of 3 means 3:1 or 25% of the pages are kept on the inactive list. | 2086 | * of 3 means 3:1 or 25% of the pages are kept on the inactive list. |
2087 | * | 2087 | * |
2088 | * total target max | 2088 | * total target max |