Re: [PATCH 0/4] Allow CPU0 to be nohz full
From: Thomas Gleixner
Date: Thu Apr 04 2019 - 10:36:34 EST
On Thu, 4 Apr 2019, Nicholas Piggin wrote:
> I've been looking at ways to fix suspend breakage with CPU0 as a
> nohz CPU. I started looking at various things like allowing CPU0
> to take over do_timer again temporarily or allowing nohz full
> to be stopped at runtime (that is quite a significant change for
> little real benefit). The problem then was having the housekeeping
> CPU go offline.
>
> So I decided to try just allowing the freeze to occur on non-zero
> CPU. This seems to be a lot simpler to get working, but I guess
> some archs won't be able to deal with this? Would it be okay to
> make it opt-in per arch?
It needs to be opt in. x86 will fall on its nose with that.
Now the real interesting question is WHY do we need that at all?
Thanks,
tglx