diff options
author | Marco Elver <elver@google.com> | 2020-07-24 10:00:06 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-25 01:09:58 +0300 |
commit | 00047c2e6d7c576c1a847f7db07ef0fc58085f22 (patch) | |
tree | dea69a945879dd10c9a9771fe308c1599cec155d /include/asm-generic/bitops/instrumented-atomic.h | |
parent | bec4a2474890a6884eb890c778ea02bccaaae6eb (diff) | |
download | linux-00047c2e6d7c576c1a847f7db07ef0fc58085f22.tar.xz |
instrumented.h: Introduce read-write instrumentation hooks
Introduce read-write instrumentation hooks, to more precisely denote an
operation's behaviour.
KCSAN is able to distinguish compound instrumentation, and with the new
instrumentation we then benefit from improved reporting. More
importantly, read-write compound operations should not implicitly be
treated as atomic, if they aren't actually atomic.
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/asm-generic/bitops/instrumented-atomic.h')
0 files changed, 0 insertions, 0 deletions