sys_sched_setattr(9)
π sys_sched_setattr(9) β Kernel API Manual
okay so bestie, welcome to the sys_sched_setattr(9) page from the Kernel API Manual β¨ this one is short and sweet, so letβs get into it.
πΈ NAME πΈ
sys_sched_setattr β same as above, but with extended sched_attr. No cap, thatβs the whole name vibe.
β¨ SYNOPSIS β¨
long sys_sched_setattr (pid_t pid , struct sched_attr __user * uattr ,
unsigned int flags );
π ARGUMENTS π
pidβ the pid in question. Yes, literally the pid in question β main character identifier energy.uattrβ structure containing the extended parameters. This is where the extended parameter info lives, bestie.flagsβ for future extension. Future-extension flags, iykyk β not todayβs plotline.
π¦ SEE ALSO π¦
The kernel file is ./kernel/sched/syscalls.c β and the whole reference friend group is:
task_prio(9)idle_cpu(9)idle_task(9)find_process_by_pid(9)sched_setscheduler(9)sched_setscheduler_nocheck(9)sys_sched_setscheduler(9)sys_sched_setparam(9)sys_sched_getscheduler(9)sys_sched_getparam(9)sys_sched_getattr(9)sys_sched_setaffinity(9)sys_sched_getaffinity(9)sys_sched_yield(9)yield(9)yield_to(9)sys_sched_get_priority_max(9)sys_sched_get_priority_min(9)sys_sched_rr_get_interval(9)
Cute sign-off: source/version ./kernel/sched, dated October 2026 β bye 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