Page MenuHomeFreeBSD

arm: Implement atomic_testandset_acq_long as a simple wrapper
ClosedPublic

Authored by jhb on Fri, Nov 15, 8:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 4:30 PM
Unknown Object (File)
Mon, Nov 18, 12:58 AM
Unknown Object (File)
Sun, Nov 17, 5:39 PM
Unknown Object (File)
Sun, Nov 17, 5:07 PM
Unknown Object (File)
Sun, Nov 17, 1:47 PM
Unknown Object (File)
Sun, Nov 17, 11:03 AM
Unknown Object (File)
Sat, Nov 16, 12:21 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