aboutsummaryrefslogtreecommitdiffstats
path: root/lib/devmem_is_allowed.c
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-02-06 16:46:26 +0100
committerIngo Molnar <mingo@kernel.org>2020-03-21 09:43:30 +0100
commita312013578e4775003689e31c1f487df11f362a3 (patch)
treead783212943e92d4ed1736b795f4ff275f2f1b98 /lib/devmem_is_allowed.c
parentkcsan: Introduce ASSERT_EXCLUSIVE_*() macros (diff)
downloadlinux-dev-a312013578e4775003689e31c1f487df11f362a3.tar.xz
linux-dev-a312013578e4775003689e31c1f487df11f362a3.zip
kcsan: Add test to generate conflicts via debugfs
Add 'test=<iters>' option to KCSAN's debugfs interface to invoke KCSAN checks on a dummy variable. By writing 'test=<iters>' to the debugfs file from multiple tasks, we can generate real conflicts, and trigger data race reports. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/devmem_is_allowed.c')
0 files changed, 0 insertions, 0 deletions