HomeFreeBSD

Add membarrier(2)

Description

Add membarrier(2)

This is an attempt at clean-room implementation of the Linux'
membarrier(2) syscall. For documentation, you would need to read
both membarrier(2) Linux man page, the comments in Linux
kernel/sched/membarrier.c implementation and possibly look at
actual uses.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32360

Details

Provenance
kibAuthored on Oct 7 2021, 9:10 PM
Differential Revision
D32360: Add membarrier(2)
Parents
rG74ccb8ecf6c1: Add cpu_sync_core()
Branches
Unknown
Tags
Unknown