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-hyperv, linux-leds, linux-mips, linux-pm, linux-remoteproc, linux-s390, linux-tegra, linux-um, linuxppc-dev, lkml, rcu, sparclinux, xen-devel
Reply to
Petr Mladek, 2022-05-16
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 =)
Thread (175 messages) 175 messages, 28 authors, last reply 2022-05-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help