syscall.sh / x64 / membarrier

membarrier

issue memory barriers on a set of threads

sys_membarrier(int cmd, unsigned int flags, int cpu_id)
number324 (0x144)
abicommon
entry pointsys_membarrier
sinceLinux 4.3
man pagemembarrier(2)
sourceelixir.bootlin.com

Registers

registervalue
rax324, the syscall number
rdiint cmd
rsiunsigned int flags
rdxint cpu_id
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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