Subject: Re: Lazy FP in SMP
To: Matt Thomas <matt@3am-software.com>
From: Allen Briggs <briggs@wasabisystems.com>
List: tech-smp
Date: 11/21/2000 10:51:50
On Mon, Nov 20, 2000 at 11:19:36PM -0800, Matt Thomas wrote:
> Either way, a process get screwed. This also mean that more bookkeeping
> needs to added such that you know what CPU has this processors FP state.
The only other clean-ish solution that I can think of is to have
semi-lazy FP and only do lazy FP state restores. If FP is used,
always save it on the context switch. Of course, this is probably
a net loss since you pay part of the penalty every time you context
switch an FP-using process.
-allen