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

Steven Rostedt rostedt at goodmis.org
Mon Oct 9 07:01:55 PDT 2023


On Sat, 7 Oct 2023 21:30:42 -0400
Joel Fernandes <joel at joelfernandes.org> 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.

-- Steve



More information about the kexec mailing list