syscall.sh / s390x / get_mempolicy

get_mempolicy

retrieve NUMA memory policy for a thread

sys_get_mempolicy(int *policy, unsigned long *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags)
number269 (0x10d)
abicommon
entry pointsys_get_mempolicy
sinceLinux 4.16
man pageget_mempolicy(2)
sourceelixir.bootlin.com

Registers

registervalue
r1269, the syscall number
r2int *policy
r3unsigned long *nmask
r4unsigned long maxnode
r5unsigned long addr
r6unsigned long flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/get_mempolicy