pids_charge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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