Subject: Re: Floating point in the kernel
To: Andrei Petrov <and@genesyslab.com>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: tech-kern
Date: 09/18/1998 23:20:49
On Fri, Sep 18, 1998 at 02:05:58PM -0700, Andrei Petrov wrote:
> 
> I would expect that kernel saves/restores user's FPU state so it should be
> safe just use FP in kernel mode assuming that you are the only part of kernel
> who does that. Don't know what to do with interrupts from FP in kernel mode.

Many NetBSD kernels (in terms of cpu types) only save and restore the FPU
at process switch time, or not even then (if the new process doesnt use 
the FPU), so... no.

	-is