On Sun, Mar 26, 2000, Aki M Laukkanen <[EMAIL PROTECTED]> wrote:

>Are you referring to the wmb() calls? Those just insert write memory
>barries which is a no-op on x86. I don't even know if they are
>actually needed.

In pure theory, they are needed in various places when manipulating the
TD list of an active endpoint. We should add a wmb() after filling the
dummy TD with it's final values and before changing the lastTD pointer in
the endpoint. Without that, it is actually possible that writes are not
done in order and may still be in the CPU write buffer, not yet handled
by the cache and coherency logic. The same issue happens when hot-linking EDs.

I'll add those wmb() and post a patch one of these days, it's less
important and is useless on most CPUs anyway.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to