linux-stable/Documentation/dev-tools
Marco Elver d8949ef1d9 kcsan: Introduce scoped ASSERT_EXCLUSIVE macros
Introduce ASSERT_EXCLUSIVE_*_SCOPED(), which provide an intuitive
interface to use the scoped-access feature, without having to explicitly
mark the start and end of the desired scope. Basing duration of the
checks on scope avoids accidental misuse and resulting false positives,
which may be hard to debug. See added comments for usage.

The macros are implemented using __attribute__((__cleanup__(func))),
which is supported by all compilers that currently support KCSAN.

Suggested-by: Boqun Feng <boqun.feng@gmail.com>
Suggested-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2020-04-13 17:18:13 -07:00
..
kunit Documentation: kunit: fixed sphinx error in code block 2020-02-10 17:16:42 -07:00
coccinelle.rst doc:process: add links where missing 2018-12-06 10:21:19 -07:00
gcov.rst gcov: docs: add a note on GCC vs Clang differences 2019-05-14 19:52:51 -07:00
gdb-kernel-debugging.rst docs: disable KASLR when debugging kernel 2017-07-17 14:49:01 -06:00
index.rst Linux 5.5-rc4 2019-12-30 08:10:51 +01:00
kasan.rst kasan: Add riscv to KASAN documentation. 2020-01-22 13:10:00 -08:00
kcov.rst kcov: fix struct layout for kcov_remote_arg 2020-01-04 13:55:09 -08:00
kcsan.rst kcsan: Introduce scoped ASSERT_EXCLUSIVE macros 2020-04-13 17:18:13 -07:00
kgdb.rst docs: disable KASLR when debugging kernel 2017-07-17 14:40:40 -06:00
kmemleak.rst docs: kmemleak: DEBUG_KMEMLEAK_EARLY_LOG_SIZE changed names 2019-10-01 06:50:17 -06:00
kselftest.rst selftests: Fix dangling documentation references to kselftest_module.sh 2019-12-11 10:27:01 -07:00
sparse.rst Remove references to dead website. 2019-07-19 12:22:04 -07:00
ubsan.rst