Lines Matching defs:high
1476 * moving cgroups. This is for waiting at high-memory pressure
2423 READ_ONCE(memcg->memory.high))
2469 * example, with a high of 100 megabytes:
2500 static u64 calculate_overage(unsigned long usage, unsigned long high)
2504 if (usage <= high)
2511 high = max(high, 1UL);
2513 overage = usage - high;
2515 return div64_u64(overage, high);
2524 READ_ONCE(memcg->memory.high));
2538 READ_ONCE(memcg->swap.high));
2550 * is exceeding its memory.high by checking both it and its ancestors.
2562 * We use overage compared to memory.high to calculate the number of
2586 * and reclaims memory over the high limit.
2611 * memory.high is currently batched, whereas memory.max and the page
2619 * memory.high is breached and reclaim is unable to keep up. Throttle
2638 * go only a small amount over their memory.high value and maybe haven't
2646 * memory.high, we want to encourage that rather than doing allocator
2813 * change in the meantime. As high limit is checked again before
2820 READ_ONCE(memcg->memory.high);
2822 READ_ONCE(memcg->swap.high);
4623 * A memcg's headroom is "min(max, high) - used". In the hierarchy, the
4646 READ_ONCE(memcg->memory.high));
4688 * decides that the memcg needs to sleep due to high dirty ratio, it calls
6551 READ_ONCE(mem_cgroup_from_seq(m)->memory.high));
6560 unsigned long high;
6564 err = page_counter_memparse(buf, "max", &high);
6568 page_counter_set_high(&memcg->memory, high);
6574 if (nr_pages <= high)
6586 reclaimed = try_to_free_mem_cgroup_pages(memcg, nr_pages - high,
6653 seq_printf(m, "high %lu\n", atomic_long_read(&events[MEMCG_HIGH]));
6830 .name = "high",
7682 if (usage * 2 >= READ_ONCE(memcg->swap.high) ||
7722 READ_ONCE(mem_cgroup_from_seq(m)->swap.high));
7729 unsigned long high;
7733 err = page_counter_memparse(buf, "max", &high);
7737 page_counter_set_high(&memcg->swap, high);
7769 seq_printf(m, "high %lu\n",
7786 .name = "swap.high",