Thread (53 messages) 53 messages, 8 authors, 2023-02-10

Re: [PATCH V3 04/11] um: Improve panic notifiers consistency and ordering

From: Richard Weinberger <richard@nod.at>
Date: 2022-09-18 21:19:57
Also in: kexec, linux-um, lkml, netdev

----- Ursprüngliche Mail -----
Von: "Guilherme G. Piccoli" [off-list ref]
On 19/08/2022 19:17, Guilherme G. Piccoli wrote:
quoted
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@cambridgegreys.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Richard Weinberger <richard@nod.at>
Signed-off-by: Guilherme G. Piccoli <gpiccoli@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help