diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2026-09-18 17:25:22 -0700 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-09-29 21:07:15 +0200 |
| commit | 1159ad0a6aaa414dc726a33ccdcb702752d1b8eb (patch) | |
| tree | 524d1e73142dd8cc445c9641fa163263dbb728ef /scripts/Makefile.thinlto | |
| parent | 5dffe33bfdafcc768d090c55479f515585509ffa (diff) | |
| download | linux-1159ad0a6aaa414dc726a33ccdcb702752d1b8eb.tar.gz linux-1159ad0a6aaa414dc726a33ccdcb702752d1b8eb.zip | |
timers: Mark racy updates to hlist_node::pprev field
hlist_unhashed_lockless() locklessly samples the hlist_node structure's
pprev field, but detach_timer(), hlist_move_list(), and hlist_splice_init()
all use plain C-language stores to update this field, despite the "The
READ_ONCE() is paired with the various WRITE_ONCE() in hlist helpers that
are defined below" in the hlist_unhashed_lockless() header comment.
Therefore use WRITE_ONCE() for these hlist_node::pprev updates.
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-1-paulmck@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
