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)
Thu, Oct 8, 10:47 PM
Unknown Object (File)
Thu, Oct 8, 9:44 PM
Unknown Object (File)
Thu, Oct 8, 8:43 PM
Unknown Object (File)
Wed, Oct 7, 11:56 PM
Unknown Object (File)
Wed, Oct 7, 11:52 PM
Unknown Object (File)
Wed, Oct 7, 1:23 AM
Unknown Object (File)
Mon, Oct 5, 11:47 PM
Unknown Object (File)
Mon, Oct 5, 11:26 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