Re: [PATCH 2/2] x86/mce: Add mce=panic_on_ce_count to panic on a corrected error flood

From: Borislav Petkov

Date: Thu Aug 27 2026 - 10:35:16 EST


On Thu, Aug 27, 2026 at 02:47:11AM -0700, Breno Leitao wrote:
> This is a user-configured option; each user picks whatever number
> works best for them.
>
> From a quick look at the Meta fleet, this follows a bi-modal curve:
> a bunch of hosts logging a dozen or so, and a few with thousands. So
> doing some napkin math, I'd say "many" is around 100ish for Meta
> fleet.

Sounds to me like this patch should remain in the Meta kernels too then.

Because I don't see it being that useful for upstream.

> Correct, that's exactly my approach here.
>
> After X CE errors, we acknowledge that the machine is no longer
> stable enough to keep carrying the workload, and simply panic. It's
> the last resort: it means lab technicians haven't fixed the problem,
> and nobody has gracefully powered off the host either.

So panic instead of graceful shutdown.

This makes it even more a Meta-only specific approach.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette