[lkml]   [2011]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Perhaps a side effect regarding NMI returns
On Tue, Nov 29, 2011 at 12:31 PM, Andi Kleen <> wrote:
> As a simple fix your proposal of forcing IRET sounds good.

We could of course use iret to return to the regular kernel stack, and
do the schedule from there.

So instead of doing the manual stack switch, just build a fake iret
stack on our exception stack. Subtle and somewhat complicated. I'd
almost rather just do a blind iret, and leave the 'iret to regular
stack' as a possible future option.


 \ /
  Last update: 2011-11-29 21:39    [W:0.116 / U:1.212 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site