Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dswap.c315 lruvec->anon_cost += nr_pages; in lru_note_cost()
330 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost()
332 lruvec->anon_cost /= 2; in lru_note_cost()
Dvmscan.c90 unsigned long anon_cost; member
2805 sc->anon_cost = target_lruvec->anon_cost; in prepare_scan_count()
2903 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
2972 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
2973 anon_cost = total_cost + sc->anon_cost; in get_scan_count()
2975 total_cost = anon_cost + file_cost; in get_scan_count()
2978 ap /= anon_cost + 1; in get_scan_count()
Dmemcontrol.c4127 unsigned long anon_cost = 0; in memcg_stat_show() local
4133 anon_cost += mz->lruvec.anon_cost; in memcg_stat_show()
4136 seq_printf(m, "anon_cost %lu\n", anon_cost); in memcg_stat_show()
/linux-6.1.9/include/linux/
Dmmzone.h517 unsigned long anon_cost; member