Files
linux-stable-mirror/include/linux
Frederic Weisbecker b1f576be92 hrtimer: Report offline hrtimer enqueue
commit dad6a09f31 upstream.

The hrtimers migration on CPU-down hotplug process has been moved
earlier, before the CPU actually goes to die. This leaves a small window
of opportunity to queue an hrtimer in a blind spot, leaving it ignored.

For example a practical case has been reported with RCU waking up a
SCHED_FIFO task right before the CPUHP_AP_IDLE_DEAD stage, queuing that
way a sched/rt timer to the local offline CPU.

Make sure such situations never go unnoticed and warn when that happens.

Fixes: 5c0930ccaa ("hrtimers: Push pending hrtimers away from outgoing CPU earlier")
Reported-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240129235646.3171983-4-boqun.feng@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 08:42:22 +01:00
..
2024-01-25 14:37:54 -08:00
2022-08-21 15:16:16 +02:00
2024-02-23 08:41:51 +01:00
2022-10-26 13:25:35 +02:00
2023-12-20 15:44:30 +01:00
2023-12-08 08:46:15 +01:00
2023-10-25 11:54:20 +02:00
2022-10-26 13:25:42 +02:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2022-08-21 15:16:08 +02:00
2022-08-21 15:15:21 +02:00
2023-01-04 11:39:16 +01:00
2023-11-20 11:06:46 +01:00
2023-06-21 15:45:38 +02:00
2023-08-26 15:26:57 +02:00
2024-01-25 14:37:40 -08:00
2024-02-23 08:42:11 +01:00
2023-11-28 16:54:53 +00:00
2023-10-25 11:54:13 +02:00
2023-10-25 11:54:13 +02:00
2023-05-17 11:48:09 +02:00
2024-02-23 08:41:51 +01:00