syscall.sh / x32 / membarrier

membarrier

issue memory barriers on a set of threads

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

Registers

registervalue
rax1073742148, 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/x32/membarrier