Re: [PATCH 5/9] x86/nmi: Fix comment in unknown NMI handling

From: Sohil Mehta
Date: Tue Apr 01 2025 - 01:53:20 EST


On 3/31/2025 10:45 PM, H. Peter Anvin wrote:

> Ha! Any idea what it was *supposed* to do? I'm guessing it stood for "back to back" or some such?

Yes, it stands for back to back NMIs. I added additional comments to
clarify how they are detected.
https://lore.kernel.org/lkml/20250327234629.3953536-7-sohil.mehta@xxxxxxxxx/

nmi_handle() still has special handling for back to back NMIs. But at
some point, there was a b2b parameter that was passed to nmi_handle().
AFAICT, that parameter was never really used.

Sohil