syscall.sh / xtensa / sched_setattr

sched_setattr

set and get scheduling policy and attributes

sys_sched_setattr(pid_t pid, struct sched_attr *attr, unsigned int flags)
number334 (0x14e)
abicommon
entry pointsys_sched_setattr
sinceLinux 5.0
man pagesched_setattr(2)
sourceelixir.bootlin.com

Registers

registervalue
a2334, the syscall number
a6pid_t pid
a3struct sched_attr *attr
a4unsigned int flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/sched_setattr