lkml.org 
[lkml]   [1997]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MMX for kernel
   From: koenig@tat.physik.uni-tuebingen.de (Harald Koenig)
Date: Fri, 7 Feb 1997 15:06:28 +0100 (MET)

> If there were many, many proceses which used the FPU, one could imagine
> an advisory bit which meant "when task switching to this process,
> immediately restore my FPU registers, since I'm an intensive FPU
> user".

wouldn't only 2 FP-intensive (compute) processes be enough for this
scenario ?

Yes, if we're constantly switching between them.

The trick, of course, is figuring out when to turn on the advisory bit.
It would be rather lame if the program had to turn it on automatically.
One way might be to do lazy evaluation, and if the program uses takes
the floating point trap more than (say) 10 times, turn on the advisory
bit at that point.

-Ted

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.156 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site