Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

From: Benjamin LaHaise
Date: Tue Feb 13 2007 - 09:59:29 EST


On Tue, Feb 13, 2007 at 03:00:19PM +0000, Alan wrote:
> > Open issues:
>
> Let me add some more

Also: FPU state (especially important with the FPU and SSE memory copy
variants), segment register bases on x86-64, interaction with set_fs()...
There is no easy way of getting around the full thread context switch and
its associated overhead (mucking around in CR0 is one of the more expensive
bits of the context switch code path, and at the very least, setting the FPU
not present is mandatory). I have looked into exactly this approach, and
it's only cheaper if the code is incomplete. Linux's native threads are
pretty damned good.

-ben
--
"Time is of no importance, Mr. President, only life is important."
Don't Email: <dont@xxxxxxxxx>.
-
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/