scx_parent(9)
π 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 πβ¨
scx_add_event(9)__scx_add_event(9)struct scx_enable_args(9)struct sched_ext_ops(9)struct sched_ext_ops_cid(9)scx_arena_to_kaddr(9)scx_kaddr_to_arena(9)DEFINE_SCX_COMPAT_MARKER(9)scx_root_protected_live(9)scx_root_protected(9)scx_bypass_dsp_enabled(9)scx_ops_sanitize_err(9)scx_has_subs(9)scx_task_sched(9)scx_task_sched_rcu(9)scx_task_on_sched(9)scx_prog_sched(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms