Re: [PATCH RFC 1/5] x86,fpu: split prev/next task fpu state handling

From: Andy Lutomirski
Date: Sat Oct 01 2016 - 19:27:26 EST


On Oct 1, 2016 1:49 PM, <riel@xxxxxxxxxx> wrote:
>
> From: Rik van Riel <riel@xxxxxxxxxx>
>
> Move all handling of the next state FPU state handling into
> switch_fpu_finish, in preparation for more lazily switching
> FPU states.
>
> CR0.TS state is mirrored in a per-cpu variable, instead of
> being passed around in a local variable, because that will
> not be possible later in the series.

This seems reasonable in principle, but IMO it would be less scary if
you rebased onto this:

https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/log/?h=x86/fpu

Because the amount of testing needed and the amount of code that gets
rearranged would be reduced. Want to fold those patches into you
series? I can also just send them in directly, although this is an
awkward time to do so.

--Andy