cgroup_update_dfl_csses(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

cgroup_update_dfl_csses β€” bestie, this is the one that updates the css assoc of a subtree in the default hierarchy πŸ’… (and yes, that's the whole vibe of the function, "Kernel API Manual" energy, we're in the kernel docs now πŸŽ€)


🌸 SYNOPSIS 🌸

int cgroup_update_dfl_csses (struct cgroup *cgrp );

πŸŽ€ ARGUMENTS πŸŽ€

  • cgrp β€” the root of the subtree whose csses we're updating 🫢 like, this is the starting point, the main character of the operation.

πŸ’… DESCRIPTION πŸ’…

okay so picture this: cgrp's control masks have changed 😳 and its subtree's css associations need to be updated to match, accordingly, no cap. That's the whole situation.

So this function does the iconic three-step:

  1. it looks up all the css_sets that are attached to the subtree πŸ‘€
  2. it creates the matching updated css_sets ✨
  3. it migrates the tasks over to the new ones πŸššπŸ’¨

like, it's giving "glow-up for the whole subtree", periodt. Obsessed.


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./kernel/cgroup/cgroup.c β€” and bestie, the friend group here is huge, so buckle up πŸ’–


lowkey that's a lot of cross-references but every single one ate, fr fr πŸ’― go read them, iykyk

okay bestie that's the whole page 🌈 this one lives in ./kernel/cgroup and it's dated October 2026 β€” mwah, go slay some css updates πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from