public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] timer subsystem fix
@ 2026-01-18 10:05 Ingo Molnar
  2026-01-19 13:54 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Ingo Molnar @ 2026-01-18 10:05 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Daniel Lezcano, Peter Zijlstra,
	Anna-Maria Behnsen, Frederic Weisbecker

Linus,

Please pull the latest timers/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2026-01-18

   # HEAD: 05dc4a9fc8b36d4c99d76bbc02aa9ec0132de4c2 hrtimer: Fix softirq base check in update_needs_ipi()

Fix the update_needs_ipi() check in the hrtimer code that
may result in incorrect skipping of hrtimer IPIs.

 Thanks,

	Ingo

------------------>
Thomas Weißschuh (1):
      hrtimer: Fix softirq base check in update_needs_ipi()


 kernel/time/hrtimer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [GIT PULL] timer subsystem fix
@ 2026-03-29  5:27 Ingo Molnar
  2026-03-29 17:29 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Ingo Molnar @ 2026-03-29  5:27 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Daniel Lezcano, Peter Zijlstra,
	Anna-Maria Behnsen, Frederic Weisbecker

Linus,

Please pull the latest timers/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2026-03-29

for you to fetch changes up to 5d16467ae56343b9205caedf85e3a131e0914ad8:

Fix an argument order bug in the alarm timer forwarding logic,
which may cause missed expirations or incorrect overrun accounting.

 Thanks,

	Ingo

------------------>
Zhan Xusheng (1):
      alarmtimer: Fix argument order in alarm_timer_forward()


 kernel/time/alarmtimer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index 069d93bfb0c7..b64db405ba5c 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -540,7 +540,7 @@ static s64 alarm_timer_forward(struct k_itimer *timr, ktime_t now)
 {
 	struct alarm *alarm = &timr->it.alarm.alarmtimer;
 
-	return alarm_forward(alarm, timr->it_interval, now);
+	return alarm_forward(alarm, now, timr->it_interval);
 }
 
 /**

^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [GIT PULL] timer subsystem fix
@ 2026-03-15  3:30 Ingo Molnar
  2026-03-15 18:47 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Ingo Molnar @ 2026-03-15  3:30 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Daniel Lezcano, Peter Zijlstra,
	Anna-Maria Behnsen, Frederic Weisbecker

Linus,

Please pull the latest timers/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2026-03-15

for you to fetch changes up to 755a648e78f12574482d4698d877375793867fa1:

Fix function tracer recursion bug by marking jiffies_64_to_clock_t()
notrace.

 Thanks,

	Ingo

------------------>
Steven Rostedt (1):
      time/jiffies: Mark jiffies_64_to_clock_t() notrace


 kernel/time/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/time.c b/kernel/time/time.c
index 36fd2313ae7e..0d832317d576 100644
--- a/kernel/time/time.c
+++ b/kernel/time/time.c
@@ -697,7 +697,7 @@ EXPORT_SYMBOL(clock_t_to_jiffies);
  *
  * Return: jiffies_64 value converted to 64-bit "clock_t" (CLOCKS_PER_SEC)
  */
-u64 jiffies_64_to_clock_t(u64 x)
+notrace u64 jiffies_64_to_clock_t(u64 x)
 {
 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0
 # if HZ < USER_HZ

^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [GIT PULL] timer subsystem fix
@ 2026-03-08  0:49 Ingo Molnar
  2026-03-08  1:23 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Ingo Molnar @ 2026-03-08  0:49 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Daniel Lezcano, Peter Zijlstra,
	Anna-Maria Behnsen, Frederic Weisbecker

Linus,

Please pull the latest timers/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2026-03-08

for you to fetch changes up to e48a869957a70cc39b4090cd27c36a86f8db9b92:

Make clock_adjtime() syscall timex validation slightly more
permissive for auxiliary clocks, to not reject syscalls
based on the status field that do not try to modify the
status field. This makes ABI behavior in clock_adjtime()
consistent with CLOCK_REALTIME.

 Thanks,

	Ingo

------------------>
Miroslav Lichvar (1):
      timekeeping: Fix timex status validation for auxiliary clocks


 kernel/time/timekeeping.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [GIT PULL] timer subsystem fix
@ 2025-11-15  9:13 Ingo Molnar
  2025-11-15 18:26 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Ingo Molnar @ 2025-11-15  9:13 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Peter Zijlstra, Andrew Morton,
	Daniel Lezcano, Anna-Maria Behnsen, Frederic Weisbecker

Linus,

Please pull the latest timers/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2025-11-15

   # HEAD: e0fd4d42e27f761e9cc82801b3f183e658dc749d posix-timers: Plug potential memory leak in do_timer_create()

Fix a memory leak in the posix timer creation logic.

 Thanks,

	Ingo

------------------>
Eslam Khafagy (1):
      posix-timers: Plug potential memory leak in do_timer_create()


 kernel/time/posix-timers.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index aa3120104a51..56e17b625c72 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -475,12 +475,6 @@ static int do_timer_create(clockid_t which_clock, struct sigevent *event,
 	if (!kc->timer_create)
 		return -EOPNOTSUPP;
 
-	new_timer = alloc_posix_timer();
-	if (unlikely(!new_timer))
-		return -EAGAIN;
-
-	spin_lock_init(&new_timer->it_lock);
-
 	/* Special case for CRIU to restore timers with a given timer ID. */
 	if (unlikely(current->signal->timer_create_restore_ids)) {
 		if (copy_from_user(&req_id, created_timer_id, sizeof(req_id)))
@@ -490,6 +484,12 @@ static int do_timer_create(clockid_t which_clock, struct sigevent *event,
 			return -EINVAL;
 	}
 
+	new_timer = alloc_posix_timer();
+	if (unlikely(!new_timer))
+		return -EAGAIN;
+
+	spin_lock_init(&new_timer->it_lock);
+
 	/*
 	 * Add the timer to the hash table. The timer is not yet valid
 	 * after insertion, but has a unique ID allocated.

^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [GIT PULL] timer subsystem fix
@ 2025-09-14  9:34 Ingo Molnar
  2025-09-14 15:43 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Ingo Molnar @ 2025-09-14  9:34 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Peter Zijlstra, Andrew Morton,
	Daniel Lezcano, Anna-Maria Behnsen, Frederic Weisbecker

Linus,

Please pull the latest timers/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2025-09-14

   # HEAD: e895f8e29119c8c966ea794af9e9100b10becb88 hrtimers: Unconditionally update target CPU base after offline timer migration

Fix a lost-timeout CPU hotplug bug in the hrtimer code, which
can trigger with certain hardware configs and regular HZ.

 Thanks,

	Ingo

------------------>
Xiongfeng Wang (1):
      hrtimers: Unconditionally update target CPU base after offline timer migration


 kernel/time/hrtimer.c | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [GIT PULL] timer subsystem fix
@ 2025-09-07 10:35 Ingo Molnar
  2025-09-07 15:32 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Ingo Molnar @ 2025-09-07 10:35 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Peter Zijlstra, Andrew Morton,
	Anna-Maria Behnsen, Frederic Weisbecker, Waiman Long

Linus,

Please pull the latest timers/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2025-09-07

   # HEAD: 762af5a2aa0ad18da1316666dae30d369268d44c vdso/vsyscall: Avoid slow division loop in auxiliary clock update

Fix a severe slowdown regression in the timer vDSO code related
to the while() loop in __iter_div_u64_rem(), when the AUX-clock
is enabled.

 Thanks,

	Ingo

------------------>
Thomas Weißschuh (1):
      vdso/vsyscall: Avoid slow division loop in auxiliary clock update


 include/linux/timekeeper_internal.h |  9 ++++++++-
 kernel/time/timekeeping.c           | 10 ++++++++--
 kernel/time/vsyscall.c              |  4 ++--
 3 files changed, 18 insertions(+), 5 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-03-29 17:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-18 10:05 [GIT PULL] timer subsystem fix Ingo Molnar
2026-01-19 13:54 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2026-03-29  5:27 Ingo Molnar
2026-03-29 17:29 ` pr-tracker-bot
2026-03-15  3:30 Ingo Molnar
2026-03-15 18:47 ` pr-tracker-bot
2026-03-08  0:49 Ingo Molnar
2026-03-08  1:23 ` pr-tracker-bot
2025-11-15  9:13 Ingo Molnar
2025-11-15 18:26 ` pr-tracker-bot
2025-09-14  9:34 Ingo Molnar
2025-09-14 15:43 ` pr-tracker-bot
2025-09-07 10:35 Ingo Molnar
2025-09-07 15:32 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox