[PATCH 0/1] x86/fpu: x86/fpu: avoid math_state_restore() without used_math() in __restore_xstate_sig()

2015-03-07 Thread Oleg Nesterov
On 03/05, Oleg Nesterov wrote: > > The patch is horrible, yes. But simple, and math_state_restore/init_fpu > are already horrible and need the cleanups. OK, nobody liked it. How about this one for stable? Ingo, Linus, Andy. I do agree, math_state_restore() should be called with irqs enabled. And

[PATCH 0/1] x86/fpu: x86/fpu: avoid math_state_restore() without used_math() in __restore_xstate_sig()

2015-03-07 Thread Oleg Nesterov
On 03/05, Oleg Nesterov wrote: The patch is horrible, yes. But simple, and math_state_restore/init_fpu are already horrible and need the cleanups. OK, nobody liked it. How about this one for stable? Ingo, Linus, Andy. I do agree, math_state_restore() should be called with irqs enabled. And I