Home
last modified time | relevance | path

Searched refs:total_cost (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dmemcg_reclaim.c45 unsigned long anon_cost, file_cost, total_cost; in get_scan_count_hyperhold() local
128 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count_hyperhold()
129 anon_cost = total_cost + sc->anon_cost; in get_scan_count_hyperhold()
130 file_cost = total_cost + sc->file_cost; in get_scan_count_hyperhold()
131 total_cost = anon_cost + file_cost; in get_scan_count_hyperhold()
133 ap = swappiness * (total_cost + 1); in get_scan_count_hyperhold()
136 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count_hyperhold()
Dvmscan.c2221 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
2290 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
2291 anon_cost = total_cost + sc->anon_cost; in get_scan_count()
2292 file_cost = total_cost + sc->file_cost; in get_scan_count()
2293 total_cost = anon_cost + file_cost; in get_scan_count()
2295 ap = swappiness * (total_cost + 1); in get_scan_count()
2298 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count()