dmem_cgroup_below_low(9)
π dmem_cgroup_below_low(9)
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a lil function called dmem_cgroup_below_low, and it's literally exactly what it sounds like: it checks whether your current usage is chillin' within the low limit. that's the whole vibe check π«Ά
πΈ NAME πΈ
dmem_cgroup_below_low β tests whether current usage is within low limit. no cap, that's it π
β¨ SYNOPSIS β¨
bool dmem_cgroup_below_low (struct dmem_cgroup_pool_state *root , struct
dmem_cgroup_pool_state *test );
π ARGUMENTS π
rootβ the root of the subtree you wanna calculate protection for π or passNULLto calculate global protection instead. both are valid, she's flexible.testβ the pool you're actually testing the usage/low limit of π§ this is the main character of the call, fr fr.
π₯ RETURN π₯
Returns true if usage is below low and the cgroup is protected. Otherwise? false. that's the tea β no in-between, no "maybe", just straight boolean energy π
π SEE ALSO π
- Kernel file
./kernel/cgroup/dmem.cπ dmem_cgroup_state_evict_valuable(9)dmem_cgroup_unregister_region(9)dmem_cgroup_register_region(9)dmem_cgroup_pool_state_put(9)dmem_cgroup_uncharge(9)dmem_cgroup_try_charge(9)dmem_cgroup_below_min(9)dmem_cgroup_get_common_ancestor(9)
like, go read those too, they're all part of the same friend group π¦
and that's the whole page, bestie π mwah π β brought to you by ./kernel/cgroup, dated October 2026, straight out of the Kernel API Manual. slay β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms