Re: [PATCH v2] x86/nmi: Add an emergency handler in nmi_desc & use it in nmi_shootdown_cpus()
From: Thomas Gleixner
Date: Wed Dec 04 2024 - 08:35:01 EST
On Tue, Dec 03 2024 at 10:07, Waiman Long wrote:
> + /*
> + * Call the emergency handler first, if set
> + * Emergency handler is not traced or checked by nmi_check_duration().
> + */
> + ehandler = READ_ONCE(desc->emerg_handler);
> + if (ehandler)
> + handled = ehandler(type, regs);
Shouldn't this just stop processing right here?
Thanks,
tglx