Home
last modified time | relevance | path

Searched hist:"48 c9e28e1e249c97bcbf68451947649c55b8c09e" (Results 1 – 1 of 1) sorted by relevance

/linux/scripts/
H A DMakefile.libdiff 48c9e28e1e249c97bcbf68451947649c55b8c09e Tue Nov 30 12:44:14 CET 2021 Marco Elver <elver@google.com> 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>