aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler_attributes.h
diff options
context:
space:
mode:
authorMarco Elver <[email protected]>2021-11-30 12:44:31 +0100
committerPaul E. McKenney <[email protected]>2021-12-09 16:42:28 -0800
commit0509811952e41ad1e04c50d2378078250b6b7be3 (patch)
tree44e74157c55812b237dcf6cf9ce2d20caea4e458 /include/linux/compiler_attributes.h
parent0525bd82f6a9b5860ed3ea53520ac11ebfa09d5b (diff)
objtool, kcsan: Remove memory barrier instrumentation from noinstr
Teach objtool to turn instrumentation required for memory barrier modeling into nops in noinstr text. The __tsan_func_entry/exit calls are still emitted by compilers even with the __no_sanitize_thread attribute. The memory barrier instrumentation will be inserted explicitly (without compiler help), and thus needs to also explicitly be removed. Signed-off-by: Marco Elver <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions