Re: [PATCH] x86/mce: Fix timer interval adjustment after logging a MCE event
From: Borislav Petkov
Date: Tue Feb 10 2026 - 10:01:59 EST
On Mon, Feb 09, 2026 at 09:37:35AM -0800, Luck, Tony wrote:
> If the system is now running in some mixed mode of polling and
> interrupts, then it is unclear what should be done in various
> new cases.
Well, what about CMCI? AMD has similar interrupt types. Those handlers end up
in the same path of machine_check_poll() and the above scenario can happen,
AFAICT.
> I don't think we care. If we miss out halving the interval becuause an
> error was logged between timer based polling, nothing really bad will
> happen. The interval might get sorted out on the next interval.
Right, that's what I'm thinking too.
> Unless someone has a real world case where something is going badly
> wrong, then I don't think any changes are needed to cover this race.
Ok, let's try the simple thing first.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette