pids_uncharge(9)
π NAME π
pids_uncharge β hierarchically uncharge the pid count, bestie β¨
okay so real talk, this is a page from the Kernel API Manual, section 9, and it's about giving pids back up the hierarchy. that's the whole vibe. no cap π«Ά
πΈ SYNOPSIS πΈ
void pids_uncharge (struct pids_cgroup *pids , int num );
it returns void, meaning it gives you literally nothing back π which honestly? iconic. it just does the thing and leaves.
π ARGUMENTS π
pidsβ the pid cgroup state π this is the cgroup you're handing the pids back to, iykyknumβ the number of pids to uncharge π¦ literally just how many you're giving back, that's it
β SEE ALSO β
- the kernel file
./kernel/cgroup/pids.cβ that's where the actual sauce lives, go read it π₯ pids_cancel(9)pids_charge(9)pids_try_charge(9)
like genuinely, the whole little friend group of pid-charging functions is right there. pids_charge takes, pids_try_charge tries, pids_cancel cancels, and pids_uncharge β our main character π β gives it back. periodt π
ngl this one is tiny, but it's doing important work in ./kernel/cgroup/pids.c. don't sleep on it π
and that's the whole page, bestie β signed off with love from ./kernel/cgroup, dated October 2026, pids_uncharge(9) forever πππ
π¦ 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