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

Borislav Petkov
2015-03-09T15:20:03Z

On Mon, Mar 09, 2015 at 03:34:36PM +0100, Oleg Nesterov wrote:
> The patch only fixes the problem with irqs disabled, I tested this.
>
> The problem with fpu_init/XRSTORS is another thing...

Yet another thing?! Oh boy.

So first Dave reported the #GP, which got fixed by Quentin's patch.
After it, it triggered the rwsem.c bug above. If this patch fixes it,
what is the third problem?

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--