syscall.sh / xtensa / sched_setscheduler
sched_setscheduler
set and get scheduling policy/parameters
sys_sched_setscheduler(pid_t pid, int policy, struct sched_param *param)
| number | 214 (0xd6) |
|---|---|
| abi | common |
| entry point | sys_sched_setscheduler |
| since | Linux 5.0 |
| man page | sched_setscheduler(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 214, the syscall number |
a6 | pid_t pid |
a3 | int policy |
a4 | struct sched_param *param |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 144
- x86 156
- arm64 119
- arm 156
- riscv64 119
- x32 1073741968
- loongarch64 119
- ppc64 156
- ppc 156
- s390x 156
- mips64 5141
- mipsn32 6141
- mipso32 4160
- alpha 332
- arc 119
- csky 119
- hexagon 119
- m68k 156
- microblaze 156
- nios2 119
- openrisc 119
- parisc 156
- sh 156
- sparc 243
- sparc64 243
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/sched_setscheduler