Thread (2 messages) flat view 2 messages, 2 authors, 2006-02-06

Re: Floating point math in kernel interrupt -- am I doing this right?

From: Roger Larsson <hidden>
Date: 2006-02-06 09:02:58

On s=F6ndag 05 februari 2006 20.40, Jeremy Friesner wrote:
If I disable the saving and restoring of the FPU registers=20
entirely, they don't seem to occur at all (at least within the bounds of =
my
testing so far -- 15+ hours).
Is this with full mix?

Then I would really suspect the save/restore code.
Saving and restoring floating point state can be very tricky.
Do try to find an example in the manual (or possibly in the kernel itself -=
=20
context switch code)

Until this works reliably there is no point in looking for other error=20
sources.  You could also try to add code inside the save-resore that destro=
ys=20
all of the floating point registers to be able to spot errors.

/RogerL
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help