Home
last modified time | relevance | path

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

/linux/mm/
H A Dswap.c264 lruvec->file_cost += cost; in lru_note_cost_unlock_irq()
281 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost_unlock_irq()
282 lruvec->file_cost /= 2; in lru_note_cost_unlock_irq()
H A Dmemcontrol-v1.c1928 unsigned long file_cost = 0; in memcg1_stat_format() local
1934 file_cost += mz->lruvec.file_cost; in memcg1_stat_format()
1937 seq_buf_printf(s, "file_cost %lu\n", file_cost); in memcg1_stat_format()
H A Dvmscan.c95 unsigned long file_cost; member
2367 sc->file_cost = target_lruvec->file_cost; in prepare_scan_control()
2452 unsigned long anon_cost, file_cost, total_cost; in calculate_pressure_balance() local
2470 total_cost = sc->anon_cost + sc->file_cost; in calculate_pressure_balance()
2472 file_cost = total_cost + sc->file_cost; in calculate_pressure_balance()
2473 total_cost = anon_cost + file_cost; in calculate_pressure_balance()
2479 fp /= file_cost + 1; in calculate_pressure_balance()
/linux/include/linux/
H A Dmmzone.h679 unsigned long file_cost; member