Re: [PATCH] exit: skip IRQ disabled warning during power off

From: Andrew Morton
Date: Sun May 11 2025 - 00:43:37 EST


On Fri, 4 Apr 2025 17:31:04 +0200 Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> > > But if the init task exits for any reason it should trigger
> > >
> > > if (unlikely(is_global_init(tsk)))
> > > panic("Attempted to kill init! exitcode=0x%08x\n"
> >
> > That is showing up later
>
> OK, and this proves that we have more problems than just this WARN_ON().
>
> Again, this is not my area, most probably I am wrong, but it seems to me
> that do_exit() simply should not be called.
>
> > We are discussing it on the other thread.
> ...
> > Let's move this discussion to that thread, please.
>
> Which thread? I wasn't cc'ed...

Neither was I.

I'll drop this patch from mm.git. Someone please cc me on any
new developments.