Re: [PATCH] Fast path context switch - microoptimize FPU reload

Andi Kleen (ak@muc.de)
Sun, 9 Mar 2003 18:30:39 +0100


On Sun, Mar 09, 2003 at 06:15:09PM +0100, Manfred Spraul wrote:

> What about moving TIF_USEDFPU from the thread_info into
> task_struct->flags? This flag word is only accessed by "current", no
> special atomicity requirements.

There is still a PF_USEDFPU defined there that can be used.
I'll change it to using that.

But it would be a good idea to completely split the flags that are
changed externally like signals from only process local bits.

Then we could avoid the wasteful LOCK prefixes for everything local.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/