Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dswap.c298 lruvec->file_cost += cost; in lru_note_cost()
315 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost()
316 lruvec->file_cost /= 2; in lru_note_cost()
Dmemcontrol-v1.c2821 unsigned long file_cost = 0; in memcg1_stat_format() local
2827 file_cost += mz->lruvec.file_cost; in memcg1_stat_format()
2830 seq_buf_printf(s, "file_cost %lu\n", file_cost); in memcg1_stat_format()
Dvmscan.c94 unsigned long file_cost; member
2276 sc->file_cost = target_lruvec->file_cost; in prepare_scan_control()
2374 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
2443 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
2445 file_cost = total_cost + sc->file_cost; in get_scan_count()
2446 total_cost = anon_cost + file_cost; in get_scan_count()
2452 fp /= file_cost + 1; in get_scan_count()
/linux-6.12.1/include/linux/
Dmmzone.h618 unsigned long file_cost; member