Re: [PATCH 3/3] tools: memory-model: Add data-race detection

From: Paul E. McKenney
Date: Sun Apr 28 2019 - 18:28:12 EST


On Fri, Apr 26, 2019 at 04:41:08PM +0200, Andrea Parri wrote:
> On Mon, Apr 22, 2019 at 12:18:09PM -0400, Alan Stern wrote:
> > This patch adds data-race detection to the Linux-Kernel Memory Model.
> > As part of this effort, support is added for:
> >
> > compiler barriers (the barrier() function), and
> >
> > a new Preserved Program Order term: (addr ; [Plain] ; wmb)
> >
> > Data races are marked with a special Flag warning in herd. It is
> > not guaranteed that the model will provide accurate predictions when a
> > data race is present.
> >
> > The patch does not include documentation for the data-race detection
> > facility. The basic design has been explained in various emails, and
> > a separate documentation patch will be submitted later.
> >
> > This work is based on an earlier formulation of data races for the
> > LKMM by Andrea Parri.
> >
> > Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
>
> For the entire series,
>
> Reviewed-by: Andrea Parri <andrea.parri@xxxxxxxxxxxxxxxxxxxx>

Applied and pushed, thank you both!

But I forgot to remove my old x86 adaption patch. Next rebase! ;-/

Thanx, Paul