find_css_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ find_css_set β€” the "give me a fresh css_set but swap one cgroup" moment ✨

okay so this is a page from the Kernel API Manual (yes, the (9) section, kernel internals bestie πŸ’…) and honestly it's short but it matters, so let's go 🫢


🌸 NAME 🌸

find_css_set β€” returns you a brand-new css_set with exactly one cgroup updated

πŸŽ€ SYNOPSIS πŸŽ€

struct css_set * find_css_set (struct css_set *old_cset , struct cgroup *cgrp );

πŸ’– ARGUMENTS πŸ’–

  • old_cset β€” the baseline css_set, aka the one you're copying the vibe of πŸ‘‘
  • cgrp β€” the cgroup that's getting updated in the new one

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is: it hands back a new css_set that is equivalent to old_cset, except cgrp has been substituted into the appropriate hierarchy. That's it. That's the whole thing. no cap ✨

Like, same energy as the old one, but with that one cgroup swapped in where it belongs 🧚

⭐ SEE ALSO ⭐

Kernel file ./kernel/cgroup/cgroup.c, plus literally the entire cgroup extended family, bestie β€” here's the whole group chat πŸ’€


and that's the whole page, bestie, short and slay πŸŽ€ this one's living in ./kernel/cgroup and it's dated October 2026, filed under find_css_set(9) β€” go forth and swap those cgroups πŸ’œβœ¨

πŸ“¦ where this page comes from