: On Tue, 17 Jul 2001 09:45:29 -0700, Terry Lambert wrote:

>One obvious reason that the Linux approach is wrong is
>that it ends up requiring the save and restore of FP
>registers on context switches, which is overhead they
>ate anyway, by doing TSS based context switching.  The
>amount of state with SSE is up to something like an
>additional 512 bytes -- that's ungodly overhead, since
>most programs don't use this context at all.

Except that - AFAIK - Linux won't do that.

Linux install traps, causing the first FPU and SSE instruction to fault
(might as well be only the SSE instructions). Upon the fault, the context
structure size is switched.

IOW, Linux does not blindly have an FPU context size of 512 bytes.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to