Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dvmscan.c3010 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
3079 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
3080 anon_cost = total_cost + sc->anon_cost; in get_scan_count()
3081 file_cost = total_cost + sc->file_cost; in get_scan_count()
3082 total_cost = anon_cost + file_cost; in get_scan_count()
3084 ap = swappiness * (total_cost + 1); in get_scan_count()
3087 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count()