Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1465809

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

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: Question: Outer NMI can nest if from user mode?
Date 2016-08-19 03:40 +0200
Message-ID <s7GWS-7sc-35@gated-at.bofh.it> (permalink)
References <s7GtQ-7go-13@gated-at.bofh.it> <s7GWS-7sc-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 18 Aug 2016 11:48:45 -0400
Steven Rostedt <rostedt@goodmis.org> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Question: Outer NMI can nest if from user mode? Steven Rostedt <rostedt@goodmis.org> - 2016-08-19 03:10 +0200
  Re: Question: Outer NMI can nest if from user mode? Steven Rostedt <rostedt@goodmis.org> - 2016-08-19 03:40 +0200
  Re: Question: Outer NMI can nest if from user mode? Steven Rostedt <rostedt@goodmis.org> - 2016-08-19 03:50 +0200

csiph-web