Skip to content

Commit 5faafd5

Browse files
Peter Zijlstrapaulmckrcu
authored andcommitted
locking/atomics: Provide the arch_atomic_ interface to generic code
Architectures with instrumented (KASAN/KCSAN) atomic operations natively provide arch_atomic_ variants that are not instrumented. It turns out that some generic code also requires arch_atomic_ in order to avoid instrumentation, so provide the arch_atomic_ interface as a direct map into the regular atomic_ interface for non-instrumented architectures. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent b3a9e3b commit 5faafd5

2 files changed

Lines changed: 266 additions & 1 deletion

File tree

0 commit comments

Comments
 (0)