Re: 答复: 答复: 答复: [外部邮件] Re: [PATCH] x86/mce: Fix timer interval adjustment after logging a MCE event

From: Nikolay Borisov

Date: Tue Jan 13 2026 - 14:25:22 EST




On 13.01.26 г. 21:13 ч., Borislav Petkov wrote:
On Tue, Jan 13, 2026 at 08:55:08PM +0200, Nikolay Borisov wrote:
tomorrow) I will send a patch that simply eliminates mce_notify_irq's call
in mce_timer_fn. I.e that function should be called only from the early
notifier.

You still need to know whether to halve the timeout or not. And that's that
mce_need_notify thing. And that gets called in the early notifier so it should
work.

However, it would be good to be able to bisect this and find a minimal fix to
backport...


mce_need_notify even now works just in the early notifier because it's set in mce_early_notifier() and subsequently reset in mce_notify_irq() which is called immediately after the set.