Re: [PATCH] x86/fpu: always restore_xinit_state() when !use_eager_cpu()

From: Dave Hansen
Date: Fri May 01 2015 - 14:14:24 EST


On 04/27/2015 07:46 AM, Dave Hansen wrote:
>> > static inline void restore_init_xstate(void)
>> > {
>> > if (use_xsave())
>> > xrstor_state(init_xstate_buf, -1);
>> > else
>> > fxrstor_checking(&init_xstate_buf->i387);
>> > }
> I'll do some testing of this today and make sure it doesn't break the
> things that I saw Oleg's patch "fix".

This looks OK to me. You can add my tested-by if you like.

--
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/