Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dvmscan.c2374 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
2443 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
2444 anon_cost = total_cost + sc->anon_cost; in get_scan_count()
2445 file_cost = total_cost + sc->file_cost; in get_scan_count()
2446 total_cost = anon_cost + file_cost; in get_scan_count()
2448 ap = swappiness * (total_cost + 1); in get_scan_count()
2451 fp = (MAX_SWAPPINESS - swappiness) * (total_cost + 1); in get_scan_count()