cgroup_subsys_on_dfl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cgroup_subsys_on_dfl πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes this is a real kernel manpage and yes it's about cgroups, buckle up πŸŽ€


🌸 NAME 🌸

cgroup_subsys_on_dfl β€” the fast test on whether a subsys is on the default hierarchy ✨

like, it's literally a quick vibe check for your subsystem's hierarchy status, no cap πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

cgroup_subsys_on_dfl (ss );

that's it. that's the whole call. she's short and she knows it πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ss β€” the subsystem in question πŸ‘‘ this is the one you're asking about, the main character of the whole operation fr fr

🌈 SEE ALSO 🌈

Kernel file ./include/linux/cgroup.h β€” go read it, it's giving source of truth πŸ“–βœ¨

and then the whole friend group of related functions, all invited to the group chat 🫢:


bestie moment: this is a kernel-internal thing, so if you're out here calling it from userspace you're doing too much πŸ™ˆ keep it in the kernel where it belongs, iykyk πŸ’€

and that's the whole page, periodt πŸ’– sourced straight from ./include/linux, dated October 2026 β€” mwah, go slay some cgroups for me πŸ§šβ€β™€οΈβ­πŸ“

πŸ“¦ where this page comes from