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

From: Borislav Petkov
Date: Mon Mar 09 2015 - 11:20:06 EST

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?


ECO tip #101: Trim your mails when you reply.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at