Oliver Neukum wrote:
usb_alloc_urb (int i, int mem_flags) -> usb_alloc_urb (struct usb_device *dev, int i, int mem_flags)This change doesn't get away from that though ... there are two
Explanation:
The HCDs allocate and deallocate data structures during every submission.
classes of allocation, it only helps the easy one go away:
- "hcpriv" ... I posted a patch ages ago that just stores this
in the urb, like skbuf->cb[] for network drivers.
- 1..N TDs ... dependant on the specific buffer passed later,
except (usually) for ISO (where i == n)
The allocation it could get rid of is "hcpriv", and there's a
simpler way to to get rid of that (urb->cb or whatever) that
doesn't change the usbcore API.
So this change doesn't seem like it'd help enough to be
worth the global change to all drivers...
- Dave
-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel