Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dvmscan.c85 unsigned long anon_cost; member
2241 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
2310 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
2311 anon_cost = total_cost + sc->anon_cost; in get_scan_count()
2313 total_cost = anon_cost + file_cost; in get_scan_count()
2316 ap /= anon_cost + 1; in get_scan_count()
2687 sc->anon_cost = target_lruvec->anon_cost; in shrink_node()
Dswap.c290 lruvec->anon_cost += nr_pages; in lru_note_cost()
305 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost()
307 lruvec->anon_cost /= 2; in lru_note_cost()
Dmemcontrol.c4145 unsigned long anon_cost = 0; in memcg_stat_show() local
4151 anon_cost += mz->lruvec.anon_cost; in memcg_stat_show()
4154 seq_printf(m, "anon_cost %lu\n", anon_cost); in memcg_stat_show()
/Linux-v5.10/include/linux/
Dmmzone.h284 unsigned long anon_cost; member