HomeFreeBSD

Provide generic sub-word atomic *cmpset

Description

Provide generic sub-word atomic *cmpset

Provide *cmpset_{8,16} as wrappers around atomic_fcmpset_32. Initial users
will be mips and sparc64, and perhaps parts of powerpc.

This are not for general consumption; machine/atomic.h should include this
header as needed to provide atomic_{,f}cmpset_{8,16} and machine/atomic.h
should provide acq_ and rel_ variants.

Reviewed by: jhibbits, kib
Differential Revision: https://reviews.freebsd.org/D21822

Details

Provenance
kevansAuthored on Oct 2 2019, 5:06 PM
Parents
rG5131cba6d6c9: Use OBJT_PHYS VM objects for kernel modules.
Branches
Unknown
Tags
Unknown