cgroup_ssid_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ cgroup_ssid_enabled(9) β€” aka the Kernel API Manual era πŸ’…

okay so bestie, welcome to the cgroup_ssid_enabled page from the Kernel API Manual β€” yes that's the manual name, we're fancy now πŸŽ€ this one's short and sweet and honestly? it's giving "small function, big main character energy" ✨


🌸 NAME 🌸

cgroup_ssid_enabled β€” the cgroup subsys enabled test by subsys ID 🧚 like, you hand it an ID and it tells you if that subsystem is enabled. no cap.


✨ SYNOPSIS ✨

bool cgroup_ssid_enabled (int ssid );

that's it. that's the whole vibe. returns a bool, takes an int. lowkey iconic πŸ¦‹


πŸ“ ARGUMENTS πŸ“

  • ssid β€” the subsys ID of interest πŸ’– literally just the ID of the subsystem you're curious about. that's the whole argument. give it what it wants.

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea, bestie πŸ«– cgroup_subsys_enabled can only be used with literal subsys names, which is totally fine for individual subsystems β€” like, no notes, slay β€” but it's unsuitable for cgroup core πŸ™ˆ

and that's why this function exists. cgroup_ssid_enabled is a slower static_key_enabled-based test that's indexed by ssid πŸ’… so instead of a literal name, you feed it the index. slower, yes, but it does the job the core needs. periodt.


🌈 SEE ALSO 🌈

Kernel file ./kernel/cgroup/cgroup.c β€” and omg the friend group is huge, buckle up bestie, we're listing every single one fr fr πŸ”₯

like I said. huge friend group. every single one of them showed up to the party 🫢


and that's the whole page!! mwah πŸ’‹ big kiss, thanks for reading β€” this one came from ./kernel/cgroup and it's dated October 2026, so mark your calendars bestie πŸ“…βœ¨ byeee πŸŒΈπŸ’–

πŸ“¦ where this page comes from