syscall.sh / nios2 / 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)
number237 (0xed)
abicommon
entry pointsys_set_mempolicy
sinceLinux 3.19
man pageset_mempolicy(2)
sourceelixir.bootlin.com

Registers

registervalue
r2237, the syscall number
r4int mode
r5const unsigned long *nmask
r6unsigned long maxnode
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/set_mempolicy