[PATCH V3 04/11] um: Improve panic notifiers consistency and ordering
Richard Weinberger
richard at nod.at
Sun Sep 18 14:19:41 PDT 2022
----- Ursprüngliche Mail -----
> Von: "Guilherme G. Piccoli" <gpiccoli at igalia.com>
> On 19/08/2022 19:17, Guilherme G. Piccoli wrote:
>> Currently the panic notifiers from user mode linux don't follow
>> the convention for most of the other notifiers present in the
>> kernel (indentation, priority setting, numeric return).
>> More important, the priorities could be improved, since it's a
>> special case (userspace), hence we could run the notifiers earlier;
>> user mode linux shouldn't care much with other panic notifiers but
>> the ordering among the mconsole and arch notifier is important,
>> given that the arch one effectively triggers a core dump.
>>
>> Fix that by running the mconsole notifier as the first panic
>> notifier, followed by the architecture one (that coredumps).
>>
>> Cc: Anton Ivanov <anton.ivanov at cambridgegreys.com>
>> Cc: Johannes Berg <johannes at sipsolutions.net>
>> Cc: Richard Weinberger <richard at nod.at>
>> Signed-off-by: Guilherme G. Piccoli <gpiccoli at igalia.com>
>>
>> V3:
>> - No changes.
>> [...]
>
> Hi Johannes, sorry for the ping. Do you think you could pick this one?
> Or if you prefer, I can resend it alone (not in the series) - let me
> know your preference.
This patch is on my TODO list.
Just had no chance to test it.
Thanks,
//richard
More information about the kexec
mailing list