Re: [PATCH] timers: Clear pending_map on CPU hotplug
From: Liang Hao
Date: Wed Sep 30 2026 - 02:27:13 EST
On Tue, 29 Sep 2026 at 22:08, Thomas Gleixner wrote:
> Why do you need to zero the map twice - once when the CPU goes out and
> then again when it comes back. That does not make sense.
You're right - clearing it twice is redundant. The stale bits come from
migration in timers_dead_cpu(); clearing pending_map there after migration
is sufficient. I'll remove the timers_prepare_cpu() part in v2.
Thanks,
Liang Hao