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

From: Andrea Parri
Date: Fri Apr 26 2019 - 10:41:20 EST


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>

Thanks,
Andrea