On Fri, Sep 01, 2017 at 11:05:33AM +0000, Reshetova, Elena wrote: > Actually on the second thought: does the above memory ordering differences > really apply when we have ARCH_HAS_REFCOUNT? To me it looks like the way > how it is currently implemented for x86 is the same way as it is for atomic > cases.
Never look to x86 for memory ordering, its boring. And yes, for the ARM implementation it can certainly make a difference.