Re: GRR!! SMP=1 sucks

Adrian Bridgett (linker@nightshade.ml.org)
Thu, 9 Apr 1998 18:45:10 -0400 (EDT)


On Thu, 9 Apr 1998, Alan Cox wrote:

> Permanent. The FPU lazy restore doesnt work SMP
>
> Alan

Why now? The current schedular trys to keep a process stuck to the same
CPU?

When a process is preempted on CPU A, it's state should be saved (minus
FPU) and it should be marked as only runable on CPU A.. Then the kernel
should do it's thing and decide if it want's to run the task again.. If so
then it does.. If not then it saves the FPU state and marks it runnable on
either cpu..

(This is assuming that it's currently not possible because if the state
doesn't get saved then it might get moved across CPUs without saving it
ever..)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu