On Fri, May 17, 2013 at 10:46:37AM -0500, Caylan Larson wrote: > Johan, > > I have tested these patches and the performance is much better. Thank you. Thanks for testing. The patches are already in the usb tree (usb-linus branch) and should show up in v3.10-rc soon. Johan > Tested-by: Caylan Larson <i@xxxxxxxxxx> > > Caylan > > > On May 5, 2013, at 1:32 PM, Johan Hovold <jhovold@xxxxxxxxx> wrote: > > > These patches add wait_until_sent-support to usb-serial, which removes > > the need to check hardware buffers in chars_in_buffer. > > > > This fixes a problem in ftdi_sio (since 3.7) where select or TIOCMOUTQ > > would take much longer than before due the hardware buffers being > > queried. > > > > Hardware buffers are also currently checked in chars_in_buffer in io_ti > > (since 3.8) and ti_usb_3410_5052 (in 3.10). > > > > Note that simply removing the hardware-buffer checks (e.g. for the > > stable trees) would break tty_wait_until_sent, which is used, for > > instance, by tcdrain, tcsendbreak, and close. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html