set_task_slice_keep_oob(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ set_task_slice_keep_oob(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so this is the Kernel API Manual page for set_task_slice_keep_oob(9), and it's literally the β€œset the slice but leave the pending oob request alone” function. tiny, specific, iconic. πŸ’…

✨ NAME ✨

set_task_slice_keep_oob β€” set @p's slice, leaving any pending oob request. no cap, that's the name.

🫢 SYNOPSIS 🫢

bool set_task_slice_keep_oob (struct task_struct *p , u64 slice );

🌸 ARGUMENTS 🌸

  • p β€” task of interest. the task we're looking at, bestie.
  • slice β€” slice to set. the slice value going in.

πŸ’– DESCRIPTION πŸ’–

While SCX_TASK_PROTECTED is set, BPF schedulers may not modify the slice. so this function refuses and returns false. that's the rule: protected slice means hands off, no cap. πŸ›‘

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./kernel/sched/ext/ext.c

the whole (9) group chat, in order:


kisses from ./kernel/sched/ext, October 2026 β€” catch u on the next set_task_slice_keep_oob(9) page πŸ’–βœ¨

πŸ“¦ where this page comes from