Re: patch to shift memory allocations to usb_alloc_urb()

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Saturday 30 June 2007, Oliver Neukum wrote:
> Am Samstag, 30. Juni 2007 schrieb Alan Stern:

> > 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.

Good ... and don't encourage drivers to allocate a buffers like
that, it'd bias everything to doing a memcpy() of the data rather
than getting as close as possible to a zero-copy design.

-------------------------------------------------------------------------
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.