On Monday 02 May 2005 1:24 am, Duncan Sands wrote: > > If it's not aligned nicely, then you could send the initial unaligned > bit in it's own urb, by copying, and the rest directly out of the > userspace buffer.
Or more typically, when the file descriptor has O_DIRECT set (which tends to flag the desire for zerocopy) then treat that as an error. Otherwise (no O_DIRECT), then either don't try for zerocopy, or else only try that path when things are aligned safely. - Dave ------------------------------------------------------- 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