syscall.sh / ppc / 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)
number261 (0x105)
abinospu
entry pointsys_set_mempolicy
sinceLinux 5.0
man pageset_mempolicy(2)
sourceelixir.bootlin.com

Registers

registervalue
r0261, the syscall number
r3int mode
r4const unsigned long *nmask
r5unsigned long maxnode
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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