On Tue, 12 Jan 2010 11:39:41 +0800 Cliff Cai <cliffcai.sh@xxxxxxxxx> wrote: > Hi all, > > Recently, I ran into a problem of running g_serial,that is kernel > crashes when running "cat myfile > /dev/ttyGS0" Which kernel, which architecture, what kind of crash, what diagnostics are displayed when it crashes ? > When low_latency is disabled,tty_flip_buffer_push(tty) will hire a > work queue to push the buffer,obviously,this is a deferred job. > So, it's not proper to wake up the read thread right after calling > tty_flip_buffer_push().I have few knowledge about tty stuff. > Does anyone here could give some hints on this problem? low_latency should only be set if - You are queuing data from a context that can sleep - Your queueing path can cope with callbacks into your transmit path -- 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