Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dmemcontrol.c2516 unsigned long penalty_jiffies; in calculate_high_delay() local
2529 penalty_jiffies = max_overage * max_overage * HZ; in calculate_high_delay()
2530 penalty_jiffies >>= MEMCG_DELAY_PRECISION_SHIFT; in calculate_high_delay()
2531 penalty_jiffies >>= MEMCG_DELAY_SCALING_SHIFT; in calculate_high_delay()
2541 return penalty_jiffies * nr_pages / MEMCG_CHARGE_BATCH; in calculate_high_delay()
2550 unsigned long penalty_jiffies; in mem_cgroup_handle_over_high() local
2582 penalty_jiffies = calculate_high_delay(memcg, nr_pages, in mem_cgroup_handle_over_high()
2585 penalty_jiffies += calculate_high_delay(memcg, nr_pages, in mem_cgroup_handle_over_high()
2593 penalty_jiffies = min(penalty_jiffies, MEMCG_MAX_HIGH_DELAY_JIFFIES); in mem_cgroup_handle_over_high()
2601 if (penalty_jiffies <= HZ / 100) in mem_cgroup_handle_over_high()
[all …]