Home
last modified time | relevance | path

Searched hist:"87859 a8e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/memory-model/Documentation/
H A Daccess-marking.txt87859a8e Tue May 18 12:47:43 CDT 2021 Paul E. McKenney <paulmck@kernel.org> tools/memory-model: Document data_race(READ_ONCE())

It is possible to cause KCSAN to ignore marked accesses by applying
__no_kcsan to the function or applying data_race() to the marked accesses.
These approaches allow the developer to restrict compiler optimizations
while also causing KCSAN to ignore diagnostic accesses.

This commit therefore updates the documentation accordingly.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>