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

From: Julien Thierry
Date: Tue Jul 17 2018 - 08:25:30 EST




On 17/07/18 12:28, Peter Zijlstra wrote:
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)


Thanks for the explanation. I'll remove the function to avoid issues related to those scenario to arise.

Thanks,

--
Julien Thierry