diff options
author | Marco Elver <elver@google.com> | 2021-11-30 12:44:31 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-12-09 16:42:28 -0800 |
commit | 0509811952e41ad1e04c50d2378078250b6b7be3 (patch) | |
tree | 44e74157c55812b237dcf6cf9ce2d20caea4e458 /block/blk-wbt.c | |
parent | 0525bd82f6a9b5860ed3ea53520ac11ebfa09d5b (diff) | |
download | linux-0509811952e41ad1e04c50d2378078250b6b7be3.tar.bz2 |
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 <elver@google.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'block/blk-wbt.c')
0 files changed, 0 insertions, 0 deletions