summaryrefslogtreecommitdiff
path: root/include/asm-generic/bitops/instrumented-atomic.h
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-07-24 10:00:06 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-08-25 01:09:58 +0300
commit00047c2e6d7c576c1a847f7db07ef0fc58085f22 (patch)
treedea69a945879dd10c9a9771fe308c1599cec155d /include/asm-generic/bitops/instrumented-atomic.h
parentbec4a2474890a6884eb890c778ea02bccaaae6eb (diff)
downloadlinux-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