scx_root_protected(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scx_root_protected πŸ’…

okay so bestie, welcome to the scx_root_protected(9) page from the Kernel API Manual β€” it’s short, it’s iconic, and it’s giving β€œtiny function, very specific job” energy ✨ grab a lil snack πŸ“ and let’s get into it.


πŸŽ€ NAME πŸŽ€

scx_root_protected β€” root sched for contexts that exclude its updates. periodt πŸ’…

⭐ SYNOPSIS ⭐

struct scx_sched * scx_root_protected (void );

🌸 ARGUMENTS 🌸

  • void β€” no arguments, bestie. literally nothing to pass in. zero. nada. the void is the vibe 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the tea: both scx_root updates run under the locks checked below, so holding one excludes them. no cap.

scx_root_protected returns the root sched with a plain load. if no scheduler is loaded, it returns NULL. that’s it. that’s the whole function. iconic behavior honestly πŸ”₯

πŸ’– SEE ALSO πŸ’–

the kernel file is literally ./kernel/sched/ext/internal.h β€” go peek if you’re nosy πŸ‘€


🌷 okay bye bestie β€” this page came from ./kernel/sched/ext, dated October 2026, and it’s literally scx_root_protected(9). mwah πŸ’‹

πŸ“¦ where this page comes from