syscall.sh / ppc / membarrier

membarrier

issue memory barriers on a set of threads

sys_membarrier(int cmd, unsigned int flags, int cpu_id)
number365 (0x16d)
abicommon
entry pointsys_membarrier
sinceLinux 5.0
man pagemembarrier(2)
sourceelixir.bootlin.com

Registers

registervalue
r0365, the syscall number
r3int cmd
r4unsigned int flags
r5int cpu_id
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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