Re: [patch] x64, fpu: fix possible FPU leakage in error conditions

From: Linus Torvalds
Date: Thu Jul 24 2008 - 16:34:46 EST




On Thu, 24 Jul 2008, Suresh Siddha wrote:
>
> Only the first init_fpu() can fail (memory allocation failure). But here,
> it is def not the first time.

Ahh. Agreed. I missed that. But yes, clear_fpu() is still preferable, I
think.

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