Re: [PATCH v3 01/22] hardirq/nmi: Allow nested nmi_enter()

From: Borislav Petkov
Date: Wed Feb 19 2020 - 11:57:06 EST


On Wed, Feb 19, 2020 at 10:31:26AM -0500, Steven Rostedt wrote:
> Probably should document somewhere (in a comment above nmi_enter()?)
> that we allow nmi_enter() to nest up to 15 times.

Yah, and can we make the BUG_ON() WARN_ON or so instead, so that there's
at least a chance to be able to catch it for debugging. Or is the box
going to be irreparably wedged after the 4 bits overflow?

--
Regards/Gruss,
Boris.

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