Re: Question: Outer NMI can nest if from user mode?

From: Steven Rostedt
Date: Thu Aug 18 2016 - 21:36:03 EST


On Thu, 18 Aug 2016 11:48:45 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> 9b6e6a8334d56 x86/nmi/64: Switch stacks on userspace NMI entry
>
> Which switches the stack to the kernel stack from the NMI stack if we
> came from user mode. That explains how the asm glue wont catch it.

In my own defense, the commit that added the comment came before the
stack switch commit, making the comment incorrect at the time it was
added ;-)

-- Steve