Page MenuHomeFreeBSD

arm: Implement atomic_testandset_acq_long as a simple wrapper
ClosedPublic

Authored by jhb on Nov 15 2024, 8:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 8:26 AM
Unknown Object (File)
Sat, Mar 14, 8:46 AM
Unknown Object (File)
Wed, Mar 4, 2:01 PM
Unknown Object (File)
Feb 16 2026, 8:15 PM
Unknown Object (File)
Feb 12 2026, 6:11 AM
Unknown Object (File)
Feb 1 2026, 11:23 PM
Unknown Object (File)
Feb 1 2026, 8:16 AM
Unknown Object (File)
Feb 1 2026, 8:16 AM
Subscribers

Details

Summary

Use a memory barrier after calling the existing atomic_testandset_long
rather than using the fcmpset-based fallback version from
<sys/_atomic_subword.h>.

Sponsored by: AFRL, DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable