Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs

From: Ivan Voras <ivoras_at_fer.hr>
Date: Wed, 17 Jan 2007 21:58:04 +0100
Matthew Dillon wrote:

>     * Saving the FP state.  The kernel doesn't have to save or restore
>       anything if userland was not using the floating point unit.  In
>       fact, the kernel doesn't even need to FNINIT!  All the kernel needs
>       to do is CLTS and FNCLEX to make the FP unit usable for media copy
>       instructions, then set CR0_TS when it is finished.

Does the same hold true with kernel threads in FreeBSD (e.g. two threads
using FPU)?
Received on Wed Jan 17 2007 - 19:58:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC