Re: [PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

Andy Lutomirski
2015-03-08T14:38:42Z

On Sun, Mar 8, 2015 at 6:59 AM, Andy Lutomirski <luto@amacapital.net> wrote:
> There's another problem, though: We don't have a real stack pointer
> just after syscall and just before sysexit, and therefore we *must*
> use IST for anything that can happen while we still have
> user-controlled rsp. That includes #DB, #NM, and #MC.

I think I faked myself out here. Why do #DB and #BP use IST? We
could remove a decent (large?) amount of crud if we changed that.

--Andy