Re: [PATCH 0/3] x86, fpu: more eagerfpu cleanups

2015-02-20 Thread Oleg Nesterov
On 02/20, Borislav Petkov wrote: > > On Mon, Jan 19, 2015 at 07:51:09PM +0100, Oleg Nesterov wrote: > > math_state_restore() and its usage doesn't look nice. init_fpu() too, > > Yeah, about that: > > I see: > > math_state_restore > ... >if (!tsk_used_math(tsk)) > init_fpu() >

Re: [PATCH 0/3] x86, fpu: more eagerfpu cleanups

2015-02-20 Thread Borislav Petkov
On Mon, Jan 19, 2015 at 07:51:09PM +0100, Oleg Nesterov wrote: > math_state_restore() and its usage doesn't look nice. init_fpu() too, Yeah, about that: I see: math_state_restore ... if (!tsk_used_math(tsk)) init_fpu() and init_fpu() then does: if (tsk_used_mat

[PATCH 0/3] x86, fpu: more eagerfpu cleanups

2015-01-19 Thread Oleg Nesterov
On 01/15, Oleg Nesterov wrote: > > Let me send initial kernel_fpu_begin/end cleanups, I believe they make > sense anyway and won't conflict with your changes. > > This is actually resend, I sent more patches some time ago but they were > ignored. > > Note that (I hope) we can do more changes on top