dmem_cgroup_pool_state_put(9)
π dmem_cgroup_pool_state_put(9) β like, the Kernel API Manual bestie β¨
okay so real talk, this one lives in the Kernel API Manual, section 9, and it's called dmem_cgroup_pool_state_put β yes the whole mouthful, we're being formal today π
π¦ NAME
dmem_cgroup_pool_state_put β drop a reference to a dmem_cgroup_pool_state π
like, you picked up a reference earlier and now you're like "mkay, I'm done with this one", and you hand it back. that's the whole vibe. no cap.
πΈ SYNOPSIS
void dmem_cgroup_pool_state_put (struct dmem_cgroup_pool_state *pool );
yes bestie, that trailing space before the ) is exactly how it's written, we do not touch the source π
β¨ ARGUMENTS
poolβ admem_cgroup_pool_stateπ«Ά (that's it. that's the argument. she's the pool and she's the moment.)
π DESCRIPTION
so this function is called to drop a reference to the limiting pool β and the limiting pool is the one you got back from dmem_cgroup_try_charge π that's the connection, iykyk.
like: dmem_cgroup_try_charge hands you a pool, you do your little charge things, and then when you're done and you don't need it anymore, you call dmem_cgroup_pool_state_put and release the reference. clean. polite. iconic. periodt π
π₯ SEE ALSO
the whole squad, fr fr β starting with the kernel file itself:
- Kernel file
./kernel/cgroup/dmem.c dmem_cgroup_state_evict_valuable(9)dmem_cgroup_unregister_region(9)dmem_cgroup_register_region(9)dmem_cgroup_uncharge(9)dmem_cgroup_try_charge(9)dmem_cgroup_below_min(9)dmem_cgroup_below_low(9)dmem_cgroup_get_common_ancestor(9)
π§ cute little sign-off
this page is from the ./kernel/cgroup corner of the world π and the date on her birth certificate says October 2026 β
mwah, go release your references responsibly, bestie πππ¦
π¦ 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