syscall.sh / loongarch64 / setpriority

setpriority

get/set program scheduling priority

sys_setpriority(int which, int who, int niceval)
number140 (0x8c)
abicommon
entry pointsys_setpriority
sinceLinux 5.19
man pagesetpriority(2)
sourceelixir.bootlin.com

Registers

registervalue
a7140, the syscall number
a0int which
a1int who
a2int niceval
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/setpriority