membarrier on ia32

issue memory barriers on a set of threads

sys_membarrier(int cmd, unsigned int flags, int cpu_id)
number375 (0x177)
abii386
entry pointsys_membarrier
sinceLinux 4.3
man pagemembarrier(2)
sourceelixir.bootlin.com

Registers

registervalue
eax375, the syscall number
ebxint cmd
ecxunsigned int flags
edxint cpu_id
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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