Skip to content
Snippets Groups Projects
Commit 87859a8e authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent f92975d7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment