summaryrefslogtreecommitdiffstats
path: root/kernel/kcsan
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-11-30 12:44:14 +0100
committerPaul E. McKenney <paulmck@kernel.org>2021-12-09 16:42:26 -0800
commit48c9e28e1e249c97bcbf68451947649c55b8c09e (patch)
tree44a91fc9e807de5a04197b68565ea4416898336d /kernel/kcsan
parent0b8b0830ac1419d7250fde31ea78793a03f3db44 (diff)
downloadlinux-stable-48c9e28e1e249c97bcbf68451947649c55b8c09e.tar.gz
linux-stable-48c9e28e1e249c97bcbf68451947649c55b8c09e.tar.bz2
linux-stable-48c9e28e1e249c97bcbf68451947649c55b8c09e.zip
kcsan, kbuild: Add option for barrier instrumentation only
Source files that disable KCSAN via KCSAN_SANITIZE := n, remove all instrumentation, including explicit barrier instrumentation. With instrumentation for memory barriers, in few places it is required to enable just the explicit instrumentation for memory barriers to avoid false positives. Providing the Makefile variable KCSAN_INSTRUMENT_BARRIERS_obj.o or KCSAN_INSTRUMENT_BARRIERS (for all files) set to 'y' only enables the explicit barrier instrumentation. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/kcsan')
0 files changed, 0 insertions, 0 deletions