On Wednesday 04 May 2005 12:13 pm, Christopher Li wrote: > I would like to see (or may be working on it depends how many times > I get) the zero copy for usbfs. > > It has been mention a few times about the usbfs2. What is > the plan there so far?
It's still in the talk-about-it stage, no plan. Someone (or more than one someone!) needs to commit the effort to take it to later stages. > On Mon, May 02, 2005 at 10:23:11AM -0700, David Brownell wrote: > > > > I was rather shocked to notice that gadgetfs AIO support took only > > a KByte or so of x86 object code, though that wasn't using zerocopy. > > It might be a bit trickier on the host side, mostly to create that > > "file per endpoint" hook into usbfs ... but once that's there, that > > Just want to mention that I actually like the file per device when > I mainly using the submit urb interface. It is fewer files to select > from. Maybe things will be different in the AIO world. Yes, it's file-per-endpoint. File descriptors are "cheap" though, and using poll() instead of select() helps with many of the problems select() has with lots of files. File-per-endpoint is the way to go for lots of reasons, anyway. It's the standard way to do streaming I/O ... and lets file descriptors be passed to components that have no reason to know about USB. - Dave > Chris > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel