syscall.sh / mipso32 / membarrier

membarrier

issue memory barriers on a set of threads

sys_membarrier(int cmd, unsigned int flags, int cpu_id)
number4358 (0x1106)
abio32
entry pointsys_membarrier
sinceLinux 5.0
man pagemembarrier(2)
sourceelixir.bootlin.com

Registers

registervalue
v04358, the syscall number
a0int cmd
a1unsigned int flags
a2int cpu_id
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/membarrier