Files
linux-stable-mirror/include/linux
Frederic Weisbecker 15524057a3 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:55:00 +01:00
..
2023-07-23 13:46:54 +02:00
2024-01-25 14:52:51 -08:00
2022-08-17 14:23:11 +02:00
2022-10-26 12:35:12 +02:00
2023-12-20 15:17:37 +01:00
2023-03-30 12:47:50 +02:00
2023-12-08 08:48:04 +01:00
2022-10-26 12:35:26 +02:00
2022-08-17 14:24:08 +02:00
2023-11-20 11:08:16 +01:00
2023-06-21 15:59:15 +02:00
2023-08-26 14:23:39 +02:00
2024-01-25 14:52:33 -08:00
2024-02-23 08:54:47 +01:00
2023-11-28 16:56:21 +00:00
2023-10-19 23:05:33 +02:00
2023-10-19 23:05:33 +02:00
2023-12-13 18:36:35 +01:00
2022-07-29 17:25:32 +02:00
2022-09-15 11:30:05 +02:00