svn commit: r337374 - head/sys/compat/linuxkpi/common/include/asm

Hans Petter Selasky hps at selasky.org
Mon Aug 6 09:44:55 UTC 2018


On 08/06/18 11:33, Mateusz Guzik wrote:
> This code is seriously inferior to atomic_fcmpset_long, which happens to
> return the found value just like the linux atomic_long_cmpxchg would.
> 
> The atomic_cmpset_* primitives should not be used if the target value is to
> be inspected.

Hi,

The LinuxKPI has already has few places of atomic_cmpset_* currently.

Can I assume that atomic_fcmpset_* is available for all platforms where 
atomic_cmpset_* is available?

--HPS


More information about the svn-src-head mailing list