Home
last modified time | relevance | path

Searched refs:total_cost (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A 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()
H A 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()
/kernel/linux/linux-6.6/mm/
H A Dmemcg_reclaim.c47 unsigned long anon_cost, file_cost, total_cost; in get_scan_count_hyperhold() local
130 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count_hyperhold()
131 anon_cost = total_cost + sc->anon_cost; in get_scan_count_hyperhold()
132 file_cost = total_cost + sc->file_cost; in get_scan_count_hyperhold()
133 total_cost = anon_cost + file_cost; in get_scan_count_hyperhold()
135 ap = swappiness * (total_cost + 1); in get_scan_count_hyperhold()
138 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count_hyperhold()
H A Dvmscan.c2989 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
3058 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
3059 anon_cost = total_cost + sc->anon_cost; in get_scan_count()
3060 file_cost = total_cost + sc->file_cost; in get_scan_count()
3061 total_cost = anon_cost + file_cost; in get_scan_count()
3063 ap = swappiness * (total_cost + 1); in get_scan_count()
3066 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count()

Completed in 16 milliseconds