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)
Wed, Nov 26, 8:53 AM
Unknown Object (File)
Wed, Nov 26, 3:02 AM
Unknown Object (File)
Tue, Nov 25, 2:34 AM
Unknown Object (File)
Mon, Nov 24, 5:30 PM
Unknown Object (File)
Sun, Nov 23, 4:52 AM
Unknown Object (File)
Sun, Nov 23, 1:47 AM
Unknown Object (File)
Thu, Nov 20, 11:36 PM
Unknown Object (File)
Thu, Nov 20, 11:35 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