diff options
author | Marco Elver <[email protected]> | 2020-05-21 16:20:44 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 20:04:03 +0200 |
commit | 44b97dccb2291a56454549827adc5e99d94811f3 (patch) | |
tree | 51af718dd6e23737c8ee29bab352f52c71a995e6 /scripts/gdb/linux/modules.py | |
parent | 0bb9ab3a6fa7ca9f627d85f6f683fae51598e8c8 (diff) |
compiler.h: Remove data_race() and unnecessary checks from {READ,WRITE}_ONCE()
The volatile accesses no longer need to be wrapped in data_race()
because compilers that emit instrumentation distinguishing volatile
accesses are required for KCSAN.
Consequently, the explicit kcsan_check_atomic*() are no longer required
either since the compiler emits instrumentation distinguishing the
volatile accesses.
Finally, simplify __READ_ONCE_SCALAR() and remove __WRITE_ONCE_SCALAR().
[ bp: Convert commit message to passive voice. ]
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions