Re: [PATCH 1/2] coredump: flush the fpu exit state for propermulti-threaded core dump

From: Linus Torvalds
Date: Mon May 07 2012 - 15:15:54 EST


On Mon, May 7, 2012 at 12:07 PM, Suresh Siddha
<suresh.b.siddha@xxxxxxxxx> wrote:
>
> Fix this by explicitly flushing the fpu state in do_exit() by calling
> prepare_to_copy()

Ugh, I hate this one.

We're making the exit path more expensive for almost no gain. The FPU
state is dead in 99.9% of all cases.

Why isn't this a core-dump-only case?

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/