diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2026-09-18 17:25:23 -0700 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-09-29 21:07:15 +0200 |
| commit | bb41ece16463b76b4d73fc47e6648fd823236765 (patch) | |
| tree | 559e97dba117de3b9eb8a0f37b4a8c9ea5ba18c8 /scripts/Makefile.thinlto | |
| parent | 1159ad0a6aaa414dc726a33ccdcb702752d1b8eb (diff) | |
| download | linux-bb41ece16463b76b4d73fc47e6648fd823236765.tar.gz linux-bb41ece16463b76b4d73fc47e6648fd823236765.zip | |
timers/migration: Mark racy updates to tmigr_event::ignore field
The tmigr_event structure's ignore field is sometimes accessed locklessly,
but the __tmigr_cpu_activate(), tmigr_cpu_new_timer(), and
__tmigr_cpu_deactivate() functions do not mark accesses to this field.
Therefore, use READ_ONCE() for the tmigr_cpu_new_timer() function's
lockless load and WRITE_ONCE() for the __tmigr_cpu_activate() and
__tmigr_cpu_deactivate() functions' stores.
KCSAN located this issue.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260919002523.3133928-2-paulmck@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
