scx_parent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scx_parent(9) β€” Kernel API Manual

okay bestie, welcome to the scx_parent page ✨ this is one of those tiny little kernel API pages (from the Kernel API Manual, iykyk) that does exactly one thing and does it iconic. let's get into it πŸŽ€


🌸 NAME 🌸

scx_parent β€” find the parent sched, that's it, that's the whole vibe πŸ’–


✨ SYNOPSIS ✨

struct scx_sched * scx_parent (struct scx_sched *sch );

like, you hand it a sched and it hands you back the parent. no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sch β€” the sched whose parent you're trying to find πŸ‘‘ literally just "sched to find the parent of", the assignment is the assignment bestie

πŸ’« DESCRIPTION πŸ’«

Returns the parent scheduler πŸ’… or NULL if sch is root. yeah. that's it. sometimes the simplest lore hits the hardest fr fr 🌈

so if you're at the root?? you get NULL. not a fake parent, not an empty struct, just NULL β€” main character energy of the null pointer honestly πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./kernel/sched/ext/internal.h β€” go read it, it's giving source of truth πŸ“–βœ¨

the whole friend group honestly, obsessed with every single one of them 🌸🧚


ok that's the page!! mwah πŸ’‹

and a lil sign-off to match the footer β€” this one lives in ./kernel/sched/ext and it's dated October 2026 πŸ—“οΈβœ¨ periodt, go read your man pages bestie πŸ’œ

πŸ“¦ where this page comes from