Am Samstag, 3. Februar 2007 23:02 schrieb Alan Stern:
> That's not a problem as far as the hardware is concerned.  But both 
> threads call hub_port_status(), which reads the status into a dedicated 
> buffer at hub->status->port.  Even though the URBs are serialized, on 
> non-cache-coherent architectures we could have problems with one thread 
> accessing the buffer while the other thread is doing DMA on it.

And this kills the other obvious solution of preallocating one buffer per
port. The more I think about it, the simpler serialization appears.

        Regards
                Oliver

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to