Re: patch to shift memory allocations to usb_alloc_urb()

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Samstag, 30. Juni 2007 schrieb Alan Stern:
> I don't know; it might be better to omit iso_fields and have a separate
> 
>         usb_alloc_iso_frames(struct urb *urb, unsigned num_frames,
>                         gfp_t mem_flags)
> 
> routine.  After all, lots of URBs aren't Iso.

That seems incompatible with preallocating resources, if the HCD includes
an array of transfer descriptors in the private parts of its URBs.

> Also, do you intend to set URB_FREE_BUFFER and allocate the transfer 
> buffer if and only if max_length > 0?

Without an explicit request? No.

	Regards
		Oliver


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.