summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2021-05-14 21:40:06 +0300
committerPaul E. McKenney <paulmck@kernel.org>2021-07-27 21:48:55 +0300
commitf92975d76d537c06a2118f9c3c63432c0f7c7a88 (patch)
treedd517af260177be87f5e6971b0392296bd101471 /ipc
parent436eef23c41fe10dc34ed19a00caf9f1290a8689 (diff)
downloadlinux-f92975d76d537c06a2118f9c3c63432c0f7c7a88.tar.xz
tools/memory-model: Heuristics using data_race() must handle all values
Data loaded for use by some sorts of heuristics can tolerate the occasional erroneous value. In this case the loads may use data_race() to give the compiler full freedom to optimize while also informing KCSAN of the intent. However, for this to work, the heuristic needs to be able to tolerate any erroneous value that could possibly arise. This commit therefore adds a paragraph spelling this out. Signed-off-by: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions