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

From: Borislav Petkov
Date: Fri Feb 20 2015 - 07:11:10 EST


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_math(tsk))

Could use a cleanup and so on... Perhaps it is in the works already :)

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
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/