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

Registers

registervalue
r12276, the syscall number
r5int mode
r6const unsigned long *nmask
r7unsigned long maxnode
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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