diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2019-04-22 18:18:09 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-28 17:18:21 +0200 |
commit | 0031e38adf38779acce5737f4905b9f60750b674 (patch) | |
tree | 39190cc686db2933c0e8891fed8b3fc77a7c9233 /Documentation/atomic_t.txt | |
parent | tools/memory-model: Add definitions of plain and marked accesses (diff) | |
download | linux-0031e38adf38779acce5737f4905b9f60750b674.tar.xz linux-0031e38adf38779acce5737f4905b9f60750b674.zip |
tools/memory-model: Add data-race detection
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@rowland.harvard.edu>
Reviewed-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'Documentation/atomic_t.txt')
0 files changed, 0 insertions, 0 deletions