summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-10-30 10:53:51 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-10-31 13:45:01 +0300
commit1d4199cbbe95efaba51304cfd844bd0ccd224e61 (patch)
tree872223b5a525f3297ab928baa203cf6e80f61596 /tools/perf/scripts/python/export-to-sqlite.py
parentbf9a001fb8e46a23c43d4964523963e717d9e972 (diff)
downloadlinux-1d4199cbbe95efaba51304cfd844bd0ccd224e61.tar.xz
timers: Add missing READ_ONCE() in __run_timer_base()
__run_timer_base() checks base::next_expiry without holding base::lock. That can race with a remote CPU updating next_expiry under the lock. This is an intentional and harmless data race, but lacks a READ_ONCE(), so KCSAN complains about this. Add the missing READ_ONCE(). All other places are covered already. Fixes: 79f8b28e85f8 ("timers: Annotate possible non critical data race of next_expiry") Reported-by: kernel test robot <oliver.sang@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/all/87a5emyqk0.ffs@tglx Closes: https://lore.kernel.org/oe-lkp/202410301205.ef8e9743-lkp@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions