Searched refs:file_cost (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
H A D | memcg_reclaim.c | 45 unsigned long anon_cost, file_cost, total_cost; in get_scan_count_hyperhold() local 128 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count_hyperhold() 130 file_cost = total_cost + sc->file_cost; in get_scan_count_hyperhold() 131 total_cost = anon_cost + file_cost; in get_scan_count_hyperhold() 137 fp /= file_cost + 1; in get_scan_count_hyperhold() 362 sc->file_cost = node_lruvec(pgdat)->file_cost; in shrink_node_hyperhold()
|
H A D | swap.c | 288 lruvec->file_cost += nr_pages; in lru_note_cost() 305 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost() 306 lruvec->file_cost /= 2; in lru_note_cost()
|
H A D | vmscan.c | 2221 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local 2290 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count() 2292 file_cost = total_cost + sc->file_cost; in get_scan_count() 2293 total_cost = anon_cost + file_cost; in get_scan_count() 2299 fp /= file_cost + 1; in get_scan_count() 2676 sc->file_cost = target_lruvec->file_cost; in shrink_node()
|
H A D | internal.h | 71 unsigned long file_cost; member
|
H A D | memcontrol.c | 4191 unsigned long file_cost = 0; in memcg_stat_show() local 4197 file_cost += mz->lruvec.file_cost; in memcg_stat_show() 4200 seq_printf(m, "file_cost %lu\n", file_cost); in memcg_stat_show()
|
/kernel/linux/linux-6.6/mm/ |
H A D | memcg_reclaim.c | 47 unsigned long anon_cost, file_cost, total_cost; in get_scan_count_hyperhold() local 130 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count_hyperhold() 132 file_cost = total_cost + sc->file_cost; in get_scan_count_hyperhold() 133 total_cost = anon_cost + file_cost; in get_scan_count_hyperhold() 139 fp /= file_cost + 1; in get_scan_count_hyperhold() 361 sc->file_cost = node_lruvec(pgdat)->file_cost; in shrink_node_hyperhold()
|
H A D | swap.c | 296 lruvec->file_cost += cost; in lru_note_cost() 313 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost() 314 lruvec->file_cost /= 2; in lru_note_cost()
|
H A D | internal.h | 73 unsigned long file_cost; member
|
H A D | vmscan.c | 2892 sc->file_cost = target_lruvec->file_cost; in prepare_scan_count() 2989 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local 3058 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count() 3060 file_cost = total_cost + sc->file_cost; in get_scan_count() 3061 total_cost = anon_cost + file_cost; in get_scan_count() 3067 fp /= file_cost + 1; in get_scan_count()
|
H A D | memcontrol.c | 4192 unsigned long file_cost = 0; in memcg1_stat_format() local 4198 file_cost += mz->lruvec.file_cost; in memcg1_stat_format() 4201 seq_buf_printf(s, "file_cost %lu\n", file_cost); in memcg1_stat_format()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mmzone.h | 316 unsigned long file_cost; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mmzone.h | 656 unsigned long file_cost; member
|
Completed in 52 milliseconds