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

/linux-master/mm/
H A Dvmscan.c2339 unsigned long anon_cost, file_cost, total_cost; local
2408 total_cost = sc->anon_cost + sc->file_cost;
2409 anon_cost = total_cost + sc->anon_cost;
2410 file_cost = total_cost + sc->file_cost;
2411 total_cost = anon_cost + file_cost;
2413 ap = swappiness * (total_cost + 1);
2416 fp = (200 - swappiness) * (total_cost + 1);

Completed in 112 milliseconds