Re: [ 05/48] x86_64, switch_to(): Load TLS descriptors before switching DS and ES

From: Andi Kleen
Date: Fri May 15 2015 - 11:53:41 EST


>
> v2.6.32.65:arch/x86/kernel/process_64.c:425: /* Must be after DS reload */
>
> If this comment is correct then the patch will cause a regression for
> FPU state management. The comment was introduced by:

Yes I already stated before that these super-risky patches
are not stable material.

-Andi

>
> commit 0a5ace2ab08d45cd78d7ef0067cdcd5c812ac54f
> Author: Andi Kleen <ak@xxxxxxx>
> Date: Thu Oct 5 18:47:22 2006 +0200
>
> [PATCH] x86-64: Fix FPU corruption
>
> Ben.
>
> --
> Ben Hutchings
> It is impossible to make anything foolproof because fools are so ingenious.



--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/