Re: Linux 2.4.17-pre5

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 9 Dec 2001 23:57:47 +0000 (GMT)


> This implies that the idle loop will poll looking for work to do.
> Is that correct? Davide's scheduler also does this. I believe
> the current default idle loop (at least for i386) does as little
> as possible and stops execting instructions. Comments in the code
> mention power consumption. Should we be concerned with this?

You can poll or IPI. An IPI has the problem that IPI's are horribly slow
on Pentium II/III. On the other hand the Athlon and PIV seem to both have
that bit sorted.

Its really an implementation detail as to whether you poll for work or
someone kicks you. Since we know what the other processors are doing and
who is idle we know when we need to kick them.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/