pids_charge(9)
hey bestie!! πΈ welcome to the pids_charge(9) page from the Kernel API Manual β we are lowkey here to hierarchically charge the pid count, and yes she is serving kernel-internals main character energy π
β¨ NAME β¨
pids_charge β hierarchically charge the pid count π that's the whole name vibe, no notes.
π¦ SYNOPSIS π¦
void pids_charge (struct pids_cgroup *pids , int num );
π ARGUMENTS π
pidsβ the pid cgroup state πnumβ the number of pids to charge β¨
π DESCRIPTION π
okay so the big thing, bestie: this function does not follow the pid limit set. It cannot fail, and the new pid count may exceed the limit π it is only used for reverting failed attaches, where there is no other way out than violating the limit. that's the whole point β emergency revert behavior, periodt.
π¨ real talk: exceeding the limit is literally part of the deal here, because this is the no-other-way-out path for failed attaches.
π SEE ALSO π
kernel file ./kernel/cgroup/pids.c β go read her friends, iykyk:
mwah π β source/version + date sign-off: ./kernel/cgroup, October 2026. that's the tea π
π¦ 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