RE: [PATCH v3 2/2] x86/mce: Rate-limit the CMCI storm transition notices

From: Qiuxu (Leo) Zhuo

Date: Fri Nov 13 2026 - 15:13:35 EST


> From: Breno Leitao <leitao@xxxxxxxxxx>
> Sent: Friday, November 13, 2026 8:49 PM
> To: Tony Luck <tony.luck@xxxxxxxxx>; Borislav Petkov <bp@xxxxxxxxx>; Thomas
> Gleixner <tglx@xxxxxxxxxx>; Ingo Molnar <mingo@xxxxxxxxxx>; Dave Hansen
> <dave.hansen@xxxxxxxxxxxxxxx>; x86@xxxxxxxxxx; H. Peter Anvin
> <hpa@xxxxxxxxx>; Qiuxu (Leo) Zhuo <qzhuo@xxxxxxxxxx>; Qiuxu Zhuo
> <qiuxu.zhuo@xxxxxxxxx>
> Cc: linux-edac@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Rik van Riel
> <riel@xxxxxxxxxxx>; Breno Leitao <leitao@xxxxxxxxxx>; kernel-team@xxxxxxxx
> Subject: [PATCH v3 2/2] x86/mce: Rate-limit the CMCI storm transition notices
>
>
> mce_track_storm() prints a line every time a bank enters storm mode and another
> every time it leaves. Neither is bounded, so the log volume follows whatever rate
> the bank flaps at.
>
> One host in our fleet logged 9970726 "CMCI storm detected" and 9970734 "CMCI
> storm subsided" lines for a single bank over four days, which is a bit excessive for all
> monitoring purposes.
>
> Put both transitions behind one ratelimit.
>
> Acked-by: Tony Luck <tony.luck@xxxxxxxxx>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>

LGTM. Thanks.

Reviewed-by: Qiuxu Zhuo <qzhuo@xxxxxxxxxx>