Re: HT and idle = poll

From: Linus Torvalds (torvalds@transmeta.com)
Date: Thu Mar 06 2003 - 15:05:48 EST


On Thu, 6 Mar 2003, Davide Libenzi wrote:
>
> Not only. The polling CPU will also shoot a strom of memory requests,
> clobbering the CPU's memory I/O stages.

Well, that would only be true with a really crappy CPU with no caches.

Polling the same location (as long as it's a pure poll, not trying to do
some locked read-modify-write cycle) should be fine. At least for
something like idle-polling, where the one location it _is_ polling should
not actually be touched by anybody else until the wakeup actually happens.

                Linus

-
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/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:33 EST