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

2015-05-04 Thread Borislav Petkov
On Mon, Apr 27, 2015 at 08:10:41AM -0700, Bobby Powers wrote: > v2: switch used_math() -> tsk_used_math(tsk) to consistently use the > grabbed tsk instead of current, like in the rest of flush_thread(). > > Oleg's commit f893959b ("x86/fpu: Don't abuse drop_init_fpu() in > flush_thread()") removed

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

2015-05-03 Thread Oleg Nesterov
On 05/02, Bobby Powers wrote: > > Hello, > > Oleg Nesterov wrote: > > Thanks! > > Dave gave this his: > > Tested-By: Dave Hansen > > over under v1 of this patch: > https://lkml.kernel.org/g/5543c277.9070...@intel.com > > Anything else anyone sees, or anyone in particular I have to poke at > to ge

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

2015-05-02 Thread Bobby Powers
Hello, Oleg Nesterov wrote: > Thanks! Dave gave this his: Tested-By: Dave Hansen over under v1 of this patch: https://lkml.kernel.org/g/5543c277.9070...@intel.com Anything else anyone sees, or anyone in particular I have to poke at to get this in? Ingo? yours, Bobby On Mon, Apr 27, 2015 a

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

2015-04-27 Thread Oleg Nesterov
Thanks! On 04/27, Bobby Powers wrote: > > v2: switch used_math() -> tsk_used_math(tsk) to consistently use the > grabbed tsk instead of current, like in the rest of flush_thread(). > > Oleg's commit f893959b ("x86/fpu: Don't abuse drop_init_fpu() in > flush_thread()") removed drop_init_fpu() usage

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

2015-04-27 Thread Bobby Powers
v2: switch used_math() -> tsk_used_math(tsk) to consistently use the grabbed tsk instead of current, like in the rest of flush_thread(). Oleg's commit f893959b ("x86/fpu: Don't abuse drop_init_fpu() in flush_thread()") removed drop_init_fpu() usage from flush_thread. This seems to break things for