Re: [PATCH v2 1/6] panic: Add a notifier chain for pre-kdump callbacks
From: sashiko-bot
Date: Mon Sep 28 2026 - 14:11:48 EST
> Selected crash callbacks should not require running every panic notifier
> before kdump. Add a separate atomic chain with an at-most-once dispatch
> helper, and invoke it before panic reaches the kmsg dumpers.
>
> The helper permits another call from the crash path without repeating
> callbacks or recursing into them. Document that callbacks may run in NMI
> context, with other CPUs running and the kexec lock held.
>
> Link: https://lore.kernel.org/r/aquttpMVKX8e6zGB@xxxxxxxxxxxxxxx
> Signed-off-by: Zack Rusin <zack.rusin@xxxxxxxxxxxx>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1790014793.git.zack.rusin@xxxxxxxxxxxx?part=1