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

From: Steven Rostedt
Date: Mon Oct 09 2023 - 10:00:42 EST


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.

-- Steve