syscall.sh / parisc / 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)
number261 (0x105)
abicommon
entry pointsys_get_mempolicy
sinceLinux 5.0
man pageget_mempolicy(2)
sourceelixir.bootlin.com

Registers

registervalue
r20261, the syscall number
r26int *policy
r25unsigned long *nmask
r24unsigned long maxnode
r23unsigned long addr
r22unsigned long flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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