Page MenuHomeFreeBSD

atomic: Add atomic_cmpset_masked to powerpc and use it
ClosedPublic

Authored by jhibbits on Nov 14 2019, 4:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 2:32 AM
Unknown Object (File)
Sep 25 2024, 6:57 AM
Unknown Object (File)
Sep 25 2024, 1:53 AM
Unknown Object (File)
Sep 24 2024, 3:27 PM
Unknown Object (File)
Sep 23 2024, 12:13 PM
Unknown Object (File)
Sep 23 2024, 6:09 AM
Unknown Object (File)
Sep 23 2024, 12:32 AM
Unknown Object (File)
Sep 22 2024, 10:29 PM
Subscribers

Details

Summary

This is a more optimal way of doing atomic_compset_masked() than the
fallback in sys/_atomic_subword.h. There's also an override for
_atomic_fcmpset_masked_word(), which may or may not be necessary, and is
unused for powerpc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable