Re: [PATCH] hrtimer: reset .hres_active and .online at appropriate points
From: Thomas Gleixner
Date: Thu Jan 16 2025 - 04:16:43 EST
On Fri, Dec 20 2024 at 22:44, Koichiro Den wrote:
> Reset these fields at the appropriate points. Ideally, .hres_active
> would be reset in tick_cpu_dying() as underlying clockevent is shut down
> there. However, since these operations occur in the atomic AP section
> with interrupts disabled in any case, this patch resets .hres_active to
> 0 in hrtimers_cpu_dying() for simplicity.
It does not matter where it is reset and from a hrtimer point of view
the dying() callback is the appropriate place.
Thanks,
tglx