On Fri, 18 Dec 1998, MOLNAR Ingo wrote:
> On Fri, 18 Dec 1998, Rik van Riel wrote:
> 
> > > > All it takes is one pointer per processor, so it can be done
> > > > (very) cheaply.
> > > it's _not_ that cheap since it means a cross-CPU message pass.
> > That should be cheaper than an 'inapropriate' context switch
> > or a truckload of cache misses/invalidates.
> (sure, i just pointed out that the mechanizm you were suggesting is
> fundamentally wrong on SMP.)

OK, then what should we do?

> it looks only for idle processes _in the current version_. As i
> said, only the SMP 'framework' is in there, there was more
> complete implementation in earlier 2.1 kernels

[snip]

> it's on my TODO list for 2.3.

If you still have the code lying around somewhere, I'd
appreciate a copy for possible inclusion in the scheduler
bigpatch (basically I'll only leave it out if it's too
complex).

cheers,

Rik -- the flu hits, the flu hits, the flu hits -- MORE
+-------------------------------------------------------------------+
| Linux memory management tour guide.        [EMAIL PROTECTED] |
| Scouting Vries cubscout leader.      http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to