freezer_apply_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

freezer_apply_state - apply state change to a single cgroup_freezer ✨ and yes bestie, this is the freezer_apply_state(9) page from the Kernel API Manual πŸ§ŠπŸ’…

✨ SYNOPSIS ✨

void freezer_apply_state (struct freezer *freezer , bool freeze ,
       unsigned int state );

πŸŽ€ ARGUMENTS πŸŽ€

  • freezer β€” freezer to apply state change to, aka the absolute main character of this whole operation πŸ§ŠπŸ‘‘
  • freeze β€” tells it whether to freeze or unfreeze, so it's basically the vibe switch ❄️πŸ”₯
  • state β€” the CGROUP_FREEZING_* flag to set or clear, periodt ✨

🌸 DESCRIPTION 🌸

So here's the tea, bestie: this one sets or clears state on the cgroup according to freeze, and then it performs the freezing or thawing as necessary πŸ’–πŸ§Š. That's literally the whole job β€” no cap.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./kernel/cgroup/legacy_freezer.c β€” go peek at the source, iykyk πŸ‘€πŸ’…


xoxo πŸ’… this page is from source/version ./kernel/cgroup, dated October 2026 β€” catch you in the kernel group chat 🫢✨

πŸ“¦ where this page comes from