diff options
author | Marco Elver <elver@google.com> | 2020-02-04 18:21:10 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-03-21 09:42:18 +0100 |
commit | 1e6ee2f0fe8ae682757960edf455e99f611268a0 (patch) | |
tree | a7325816ac12d8f67d39f356aad32395e8344175 /kernel/kcsan/debugfs.c | |
parent | 7ad900d35b49af5a05f595d2274c32e69e01b055 (diff) |
kcsan: Add option to assume plain aligned writes up to word size are atomic
This adds option KCSAN_ASSUME_PLAIN_WRITES_ATOMIC. If enabled, plain
aligned writes up to word size are assumed to be atomic, and also not
subject to other unsafe compiler optimizations resulting in data races.
This option has been enabled by default to reflect current kernel-wide
preferences.
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 'kernel/kcsan/debugfs.c')
0 files changed, 0 insertions, 0 deletions