Thread (175 messages) 175 messages, 28 authors, 2022-05-24

Re: [PATCH 22/30] panic: Introduce the panic post-reboot notifier list

From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
Date: 2022-05-16 16:09:36
Also in: kexec, linux-alpha, linux-edac, linux-leds, linux-mips, linux-pm, linux-remoteproc, linux-s390, linux-tegra, linux-um, linuxppc-dev, lkml, netdev, rcu, sparclinux, xen-devel

On 16/05/2022 11:45, Petr Mladek wrote:
[...]

The patch looks good to me. I would just suggest two changes.

1. I would rename the list to "panic_loop_list" instead of
   "panic_post_reboot_list".

   It will be more clear that it includes things that are
   needed before panic() enters the infinite loop.


2. I would move all the notifiers that enable blinking here.

   The blinking should be done only during the infinite
   loop when there is nothing else to do. If we enable
   earlier then it might disturb/break more important
   functionality (dumping information, reboot).
Perfect, I agree with you. I'll change both points in V2 =)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help