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

Oleg Nesterov
2015-03-09T17:07:54Z

On 03/09, Borislav Petkov wrote:
>
> On Mon, Mar 09, 2015 at 05:24:04PM +0100, Oleg Nesterov wrote:
> > Well, this is the same thinhg reported by Dave ;)
>
> Am I the only one in thinking that this FPU thing went completely nuts?!
> Just kill it all and let's start from scratch. :-P

And I just found another problem which needs the urgent/stable fix ;)
I'll send the simple patch in a minute...

> > But this too doesn't fix the problem: fpu_finit() is buggy on Dave's
> > machine.
>
> In talking about fpu_finit() - I still have two cleanup patches queued
> from you:
>
> http://git.kernel.org/cgit/linux/kernel/git/bp/bp.git/log/?h=tip-x86-fpu-2

Yes, thanks, but this is just a cosmetic cleanup.

Oleg.