Home
last modified time | relevance | path

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

/linux/mm/
H A Dvmscan.c96 unsigned long file_cost; member
2282 struct lru_cost *anon_cost, *file_cost; in prepare_scan_control() local
2348 file_cost = &target_lruvec->cost[WORKINGSET_FILE]; in prepare_scan_control()
2355 while (anon_cost->count + file_cost->count > lrusize / 4) { in prepare_scan_control()
2357 file_cost->count /= 2; in prepare_scan_control()
2361 sc->file_cost = file_cost->count; in prepare_scan_control()
2447 unsigned long anon_cost, file_cost, total_cost; in calculate_pressure_balance() local
2465 total_cost = sc->anon_cost + sc->file_cost; in calculate_pressure_balance()
2467 file_cost = total_cost + sc->file_cost; in calculate_pressure_balance()
2468 total_cost = anon_cost + file_cost; in calculate_pressure_balance()
[all …]
H A Dmemcontrol-v1.c2295 unsigned long file_cost = 0; in memcg1_stat_format() local
2301 file_cost += mz->lruvec.cost[WORKINGSET_FILE].count; in memcg1_stat_format()
2304 seq_buf_printf(s, "file_cost %lu\n", file_cost); in memcg1_stat_format()