Home
last modified time | relevance | path

Searched refs:recent_scanned (Results 1 – 4 of 4) sorted by relevance

/mm/
Dvmscan.c1096 reclaim_stat->recent_scanned[0] += count[LRU_INACTIVE_ANON]; in shrink_inactive_list()
1097 reclaim_stat->recent_scanned[0] += count[LRU_ACTIVE_ANON]; in shrink_inactive_list()
1098 reclaim_stat->recent_scanned[1] += count[LRU_INACTIVE_FILE]; in shrink_inactive_list()
1099 reclaim_stat->recent_scanned[1] += count[LRU_ACTIVE_FILE]; in shrink_inactive_list()
1234 reclaim_stat->recent_scanned[!!file] += pgmoved; in shrink_active_list()
1415 if (unlikely(reclaim_stat->recent_scanned[0] > anon / 4)) { in get_scan_ratio()
1417 reclaim_stat->recent_scanned[0] /= 2; in get_scan_ratio()
1422 if (unlikely(reclaim_stat->recent_scanned[1] > file / 4)) { in get_scan_ratio()
1424 reclaim_stat->recent_scanned[1] /= 2; in get_scan_ratio()
1441 ap = (anon_prio + 1) * (reclaim_stat->recent_scanned[0] + 1); in get_scan_ratio()
[all …]
Dmemcontrol.c1959 unsigned long recent_scanned[2] = {0, 0}; in mem_control_stat_show() local
1969 recent_scanned[0] += in mem_control_stat_show()
1970 mz->reclaim_stat.recent_scanned[0]; in mem_control_stat_show()
1971 recent_scanned[1] += in mem_control_stat_show()
1972 mz->reclaim_stat.recent_scanned[1]; in mem_control_stat_show()
1976 cb->fill(cb, "recent_scanned_anon", recent_scanned[0]); in mem_control_stat_show()
1977 cb->fill(cb, "recent_scanned_file", recent_scanned[1]); in mem_control_stat_show()
Dswap.c162 reclaim_stat->recent_scanned[file]++; in update_page_reclaim_stat()
169 memcg_reclaim_stat->recent_scanned[file]++; in update_page_reclaim_stat()
Dpage_alloc.c3566 zone->reclaim_stat.recent_scanned[0] = 0; in free_area_init_core()
3567 zone->reclaim_stat.recent_scanned[1] = 0; in free_area_init_core()