syscall.sh / s390x / membarrier

membarrier

issue memory barriers on a set of threads

sys_membarrier(int cmd, unsigned int flags, int cpu_id)
number356 (0x164)
abicommon
entry pointsys_membarrier
sinceLinux 4.16
man pagemembarrier(2)
sourceelixir.bootlin.com

Registers

registervalue
r1356, the syscall number
r2int cmd
r3unsigned int flags
r4int cpu_id
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/membarrier