Searched hist:"87859 a8e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/memory-model/Documentation/ |
H A D | access-marking.txt | 87859a8e 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>
|