On 14/01/2022 09:26, Petr Mladek wrote: > [...] > I see. OK, it makes sense to call it after the panic notifiers when > they are used. It would be nice to mention the above in the commit > message and explain why the 2nd call is there. > > Just an idea. It might be better to move the 1st call below > if (!_crash_kexec_post_notifiers). It would make it more > clear that it is intended for this code path. I mean: > > if (!_crash_kexec_post_notifiers) { > /* ... */ > if (kexec_crash_loaded()) > panic_print_sys_info(false); > > __crash_kexec(NULL); > ... > > Best Regards, > Petr Perfect Petr, thanks again for the very good ideas! I'll work on V3 and submit today. Cheers, Guilherme _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec