RE: [PATCH v2 6/6] x86/mce: Dynamically register default MCE handler

From: Luck, Tony
Date: Thu Jan 09 2020 - 16:54:11 EST


> It seems to me that the issue is the mcelog notifier counts toward the number
> of notifiers, so the default notifier doesn't print anything.

If we gave a API to the notifiers to say whether to suppress printing, then the
dev_mcelog() code could do the suppression only if some process had
/dev/mcelog open. So if mcelog(8) wasn't running, you'd still see the console
message.

-Tony