syscall.sh / parisc / 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)
number262 (0x106)
abicommon
entry pointsys_set_mempolicy
sinceLinux 5.0
man pageset_mempolicy(2)
sourceelixir.bootlin.com

Registers

registervalue
r20262, the syscall number
r26int mode
r25const unsigned long *nmask
r24unsigned long maxnode
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/set_mempolicy