Home
last modified time | relevance | path

Searched hist:"4494 dd58fbb477e54c129c1d8ef477aad433eba0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/memory-model/
H A Dlinux-kernel.catdiff 4494dd58fbb477e54c129c1d8ef477aad433eba0 Mon Apr 22 11:17:45 CDT 2019 Alan Stern <stern@rowland.harvard.edu> tools/memory-model: Prepare for data-race detection

This patch makes some slight alterations to linux-kernel.cat in
preparation for adding support for data-race detection to the
Linux-Kernel Memory Model.

The definitions of relations involved in Acquire, Release, and
unlock-lock ordering are moved up earlier in the source file.

The rmb relation is factored through the new R4rmb class: the
class of reads to which rmb will apply.

The definition of the fence relation is moved earlier, and it
is split up into read- and write-fences (rmb and wmb) and all
the others.

This should not make any functional changes.

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>