commit | 71b0e3aeb28256712945d99ca67b3f5e3ed7e0b1 | [log] [tgz] |
---|---|---|
author | Marco Elver <elver@google.com> | Tue Nov 30 12:44:21 2021 +0100 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Dec 09 16:42:27 2021 -0800 |
tree | abe1638ba6b1dbec580293fc06c33f943b4931de | |
parent | 116af35e38cf97ed72111ac6bea19f8acea2d0ba [diff] |
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>