Re: [RFC PATCH 1/4] genirq: Provide basic NMI management for interrupt lines

From: Peter Zijlstra
Date: Tue Jul 17 2018 - 07:28:49 EST


On Tue, Jul 17, 2018 at 12:13:44PM +0100, Julien Thierry wrote:

> I'm a bit unsure about this one. In practice NMI handlers shouldn't take
> forever nor block the system for too long.

On x86 at least, kgdb can be in NMI context for extended periods. Not
saying that's a good thing, but on occasion we get reports on stuff
coming apart because of that.

(most times we tell people to not do that then)