Re: [PATCH v2 0/3] x86: faster mb()+other barrier.h tweaks
From: H. Peter Anvin
Date: Tue Jan 26 2016 - 16:39:01 EST
On 01/26/16 00:20, Michael S. Tsirkin wrote:
> On Tue, Jan 12, 2016 at 02:25:24PM -0800, H. Peter Anvin wrote:
> Hi hpa,
> Any luck getting some feedback on this one?
Yes. What we know so far is that *most* cases it will work, but there
are apparently a few corner cases where MFENCE or a full-blown
serializing instruction is necessary. We are trying to characterize
those corner cases and see if any of them affect the kernel.
Even if they are, we can probably make those barriers explicitly
different, but we don't want to go ahead with the change until we know
where we need to care.