Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t
From: Peter Zijlstra
Date: Fri Sep 01 2017 - 08:34:45 EST
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.