Re: [PATCH] kexec: Fix reboot race during device_shutdown()

From: Joel Fernandes
Date: Tue Oct 10 2023 - 16:44:00 EST


On Mon, Oct 9, 2023 at 10:00 AM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Sat, 7 Oct 2023 21:30:42 -0400
> Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> wrote:
>
> > Just checking how we want to proceed, is the consensus that we should
> > prevent kernel crashes without relying on userspace stopping all
> > processes? Should we fix regular reboot syscall as well and not just
> > kexec reboot?
>
> If you can show that we can trigger the crash on normal reboot, then I
> don't see why not. That is, if you have a program that does the reboot
> (without the SIGSTOP/SIGKILL calls) and triggers this crash, I think that's
> a legitimate reason to fix it on normal reboot too.

Ok, Sounds good, thanks for sharing your thoughts.

- Joel