On 27 February 2017 at 12:01, Greg Kurz <gr...@kaod.org> wrote: > On Mon, 27 Feb 2017 12:17:26 +0100 > Paolo Bonzini <pbonz...@redhat.com> wrote: > >> nodes[id].next is written by other threads. If atomic_read is not used >> (matching atomic_set in mcs_mutex_lock!) the compiler can optimize the >> whole "if" away! >> >> Reported-by: Alex Bennée <alex.ben...@linaro.org> >> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> >> --- > > Cool ! I can use travis again :) > > Tested-by: Greg Kurz <gr...@kaod.org> >
Thanks; applied to master as a build fix. -- PMM