summaryrefslogtreecommitdiff
path: root/include/linux/spinlock.h
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-11-30 14:44:21 +0300
committerPaul E. McKenney <paulmck@kernel.org>2021-12-10 03:42:27 +0300
commit71b0e3aeb28256712945d99ca67b3f5e3ed7e0b1 (patch)
treeabe1638ba6b1dbec580293fc06c33f943b4931de /include/linux/spinlock.h
parent116af35e38cf97ed72111ac6bea19f8acea2d0ba (diff)
downloadlinux-71b0e3aeb28256712945d99ca67b3f5e3ed7e0b1.tar.xz
kcsan: selftest: Add test case to check memory barrier instrumentation
Memory barrier instrumentation is crucial to avoid false positives. To avoid surprises, run a simple test case in the boot-time selftest to ensure memory barriers are still instrumented correctly. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/spinlock.h')
0 files changed, 0 insertions, 0 deletions