[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fpintr: FPU not belonging to anyone!
From: |
Roland McGrath |
Subject: |
Re: fpintr: FPU not belonging to anyone! |
Date: |
Tue, 21 Aug 2001 21:51:14 -0400 (EDT) |
The point is that fpintr should not be happening in a state where fp_thread
is null. That suggests that the FPU state switching might have failed to
operate. Any FPU operation should generate the FPU not-present fault and
get to fpnoextflt, which is what switches the thread's FPU state back into
the hardware after a context switch. If this didn't happen, then it's
possible that the current thread has been running for a while and using the
FPU (before it generated the interrupt that got to fpintr) but never had
its proper PFU state swapped in before it started using the FPU.