mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* recent x86-64 nested NMI adjustments
@ 2012-03-12 12:10 Jan Beulich
  2012-03-12 13:16 ` Steven Rostedt
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2012-03-12 12:10 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: mingo, Peter Zijlstra, linux-kernel, hpa

Hi Steven,

the explanation of 45d5a1683c04be28abdf5c04c27b1417e0374486
seems bogus to me: When arriving from user mode, %rsp won't point
to the user stack anymore, as it gets switched away from during the
processing of the exception (the more that the IDT entry specifies a
separate stack anyway, which even guarantees this for kernel mode
entries).

Further, a38449ef596b345e13a8f9b7d5cd9fedb8fcf921 makes the
(presumably superfluous) compare a 4-byte one, while the
documentation isn't really stating that selectors get pushed zero-
extended. Hence, if not reverting the first change altogether, I'd
minimally recommend converting the compare to a 2-byte one.

Jan


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-12 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-12 12:10 recent x86-64 nested NMI adjustments Jan Beulich
2012-03-12 13:16 ` Steven Rostedt
2012-03-12 13:31   ` Jan Beulich
2012-03-12 14:21     ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®