HomeFreeBSD

atomic.9: fix description of acquire and release

Description

atomic.9: fix description of acquire and release

The ordering point is not the atomic operation itself, but the load for
acquire or store for release done as part of the atomic. This does not
matter for atomic_load_acq and atomic_store_rel, but does matter for RWM
operations.

Noted by: alc
Reviewed by: markj
Discussed with: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D52744

Details

Provenance
kibAuthored on Oct 5 2025, 8:39 AM
Reviewer
markj
Differential Revision
D52744: atomic.9: provide fine details about CAS memory model MD semantic
Parents
rG25aed6401b35: ddb: improve printing of inpcbs
Branches
Unknown
Tags
Unknown