Re: [RFC PATCH 0/5] New way to track mce notifier chain actions

From: Andy Lutomirski
Date: Thu Feb 13 2020 - 11:05:17 EST



> On Feb 12, 2020, at 10:09 PM, Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> ïOn Wed, Feb 12, 2020 at 09:52:39PM -0800, Andy Lutomirski wrote:
>> I HATE notifier chains for exceptions, and I REALLY HATE NOTIFY_STOP.
>> I don't suppose we could rig something up so that they are simply
>> notifiers (for MCE and, eventually, for everything) and just outright
>> prevent them from modifying the processing?
>
> As in: they all get executed unconditionally and there's no NOTIFY_STOP
> and if they're not interested in the notification, they simply return
> early?
>
> Hohumm, sounds nicer.
>

Exactly :)

> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette