syscall.sh / xtensa / set_mempolicy

set_mempolicy

set default NUMA memory policy for a thread and its children

sys_set_mempolicy(int mode, const unsigned long *nmask, unsigned long maxnode)
number265 (0x109)
abicommon
entry pointsys_set_mempolicy
sinceLinux 5.0
man pageset_mempolicy(2)
sourceelixir.bootlin.com

Registers

registervalue
a2265, the syscall number
a6int mode
a3const unsigned long *nmask
a4unsigned long maxnode
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/set_mempolicy