aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-01-18 10:56:32 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2026-01-18 10:56:32 -0800
commitb671c1dad244a21ce71de3f7b1dbca83d25fffd4 (patch)
tree5c57a11fefcf2a521b4c599affa86b31a52786fd
parentMerge tag 'sched-urgent-2026-01-18' of git://git.kernel.org/pub/scm/linux/ker... (diff)
parenthrtimer: Fix softirq base check in update_needs_ipi() (diff)
downloadlinux-b671c1dad244a21ce71de3f7b1dbca83d25fffd4.tar.gz
linux-b671c1dad244a21ce71de3f7b1dbca83d25fffd4.zip
Merge tag 'timers-urgent-2026-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fix from Ingo Molnar: "Fix the update_needs_ipi() check in the hrtimer code that may result in incorrect skipping of hrtimer IPIs" * tag 'timers-urgent-2026-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: hrtimer: Fix softirq base check in update_needs_ipi()
-rw-r--r--kernel/time/hrtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index bdb30cc5e873..0e4bc1ca15ff 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -913,7 +913,7 @@ static bool update_needs_ipi(struct hrtimer_cpu_base *cpu_base,
return true;
/* Extra check for softirq clock bases */
- if (base->clockid < HRTIMER_BASE_MONOTONIC_SOFT)
+ if (base->index < HRTIMER_BASE_MONOTONIC_SOFT)
continue;
if (cpu_base->softirq_activated)
continue;