I notice that the transfer buffer for the status URB is also part of 
struct usb_hub, hence not cacheline-aligned.  I also notice that the 
contents of the buffer are never used; when a status change event occurs 
the driver probes all the ports and the hub itself.

Would it be safe to eliminate that buffer and have the status IRQ URB 
request a 0-length transfer?  Or would it be better to put that buffer 
along with the status report buffers in a separate area of memory?  Having 
them all together shouldn't matter, because they would all be written by 
the same bus master.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to