freezer_apply_state(9)
π 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β theCGROUP_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 ππ
freezer_css_online(9)freezer_css_offline(9)freezer_fork(9)update_if_frozen(9)freezer_change_state(9)
xoxo π
this page is from source/version ./kernel/cgroup, dated October 2026 β catch you in the kernel group chat π«Άβ¨
π¦ 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