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)
Thu, Nov 6, 8:17 AM
Unknown Object (File)
Wed, Oct 29, 11:26 AM
Unknown Object (File)
Tue, Oct 21, 11:53 PM
Unknown Object (File)
Thu, Oct 16, 5:05 AM
Unknown Object (File)
Thu, Oct 16, 5:05 AM
Unknown Object (File)
Tue, Oct 14, 9:58 PM
Unknown Object (File)
Oct 14 2025, 12:44 AM
Unknown Object (File)
Oct 14 2025, 12:35 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