Re: [patch V2 07/17] x86/entry/64: Remove redundant interrupt disable

Josh Poimboeuf
2019-10-23T22:06:18Z

On Wed, Oct 23, 2019 at 02:27:12PM +0200, Thomas Gleixner wrote:
> Now that the trap handlers return with interrupts disabled, the
> unconditional disabling of interrupts in the low level entry code can be
> removed along with the trace calls.
>
> Add debug checks where appropriate.

This seems a little scary. Does anybody other than Andy actually run
with CONFIG_DEBUG_ENTRY? What happens if somebody accidentally leaves
irqs enabled? How do we know you found all the leaks?

--
Josh