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) <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent b3a9e3b commit 5faafd5

File tree

2 files changed

+266
-1
lines changed

2 files changed

+266
-1
lines changed

0 commit comments

Comments
 (0)