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

/linux-master/mm/
H A Dvmscan.c2355 unsigned long anon_cost, file_cost, total_cost; local
2424 total_cost = sc->anon_cost + sc->file_cost;
2425 anon_cost = total_cost + sc->anon_cost;
2426 file_cost = total_cost + sc->file_cost;
2427 total_cost = anon_cost + file_cost;
2429 ap = swappiness * (total_cost + 1);
2432 fp = (200 - swappiness) * (total_cost + 1);

Completed in 193 milliseconds