On Tue, May 24, 2016 at 23:09:47 +0300, Sergey Fedorov wrote: > On 24/05/16 23:06, Emilio G. Cota wrote: > > For correctness, smp_read_barrier_depends() is only required to > > emit a barrier on Sparc hosts. However, we are currently emitting > > a consume fence unconditionally. > > > > Fix it by keeping the consume fence if we're compiling with Thread > > Sanitizer, since this might help prevent false warnings. Otherwise, > > only emit the barrier for Sparc hosts. Note that we still guarantee > > that smp_read_barrier_depends() is a compiler barrier. > > s/Sparc/Alpha/?
Obviously :-) Typo also in patch 3 -- apologies. E.