Re: x86 memory barrier: why does Linux prefer MFENCE to Locked ADD?

From: Peter Zijlstra
Date: Fri Jun 03 2016 - 09:39:34 EST


On Thu, Mar 03, 2016 at 11:05:43AM -0800, H. Peter Anvin wrote:
> >> latest version here:
> >>
> >> lkml.kernel.org/r/1453921746-16178-1-git-send-email-mst@xxxxxxxxxxx
> >
> >It's ready as far as I am concerned.
> >Basically we are just waiting for ack from hpa.
>
> And I'm still discussing this with the hardware people. It seems we
> can do this for *most* things, but not all; the question is where
> exactly we need to do something different.

Anything on this?