Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dswap.c298 lruvec->anon_cost += cost; in lru_note_cost()
313 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost()
315 lruvec->anon_cost /= 2; in lru_note_cost()
H A Dvmscan.c93 unsigned long anon_cost; member
2912 sc->anon_cost = target_lruvec->anon_cost; in prepare_scan_count()
3010 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()
3082 total_cost = anon_cost + file_cost; in get_scan_count()
3085 ap /= anon_cost + 1; in get_scan_count()
H A Dmemcontrol.c4161 unsigned long anon_cost = 0; in memcg1_stat_format() local
4167 anon_cost += mz->lruvec.anon_cost; in memcg1_stat_format()
4170 seq_buf_printf(s, "anon_cost %lu\n", anon_cost); in memcg1_stat_format()
/openbmc/linux/include/linux/
H A Dmmzone.h629 unsigned long anon_cost; member