Re: [PATCH] tick/nohz_full: don't abuse smp_call_function_single() in tick_setup_device()

Frederic Weisbecker
2024-06-03T21:45:17Z

Le Mon, Jun 03, 2024 at 05:41:33PM +0200, Oleg Nesterov a écrit :
> On 06/02, Frederic Weisbecker wrote:
> >
> > I guess the static version above should work to remove the ifdef. And yes on top is fine.
>
> OK, I've sent v2.
>
> But again, I won't argue if you prefer to keep tick_do_timer_boot_cpu and add
> WARN_ON_ONCE(tick_cpu != tick_do_timer_boot_cpu) before WRITE_ONCE(tick_do_timer_cpu).
> In this case another patch makes no sense, I'll update this one.
>
> Just tell me what you like more. Sorry for the chaotic emails.

I'm fine with the last one posted :-)

Thanks.