On Thu, Jan 21, 2010 at 7:42 PM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote: > On Thu, 21 Jan 2010 14:03:40 +0800 > River Wang <coredump007@xxxxxxxxx> wrote: > >> Hi All: >> When tty->low_latency = 1, tty_flip_buffer_push() may sleep in >> tasklet context which will lead to a kernel crash.We use >> workqueue instead of tasklet. > > Surely it would be simpler to not set tty->low_latency, and call the > tty_flip_buffer_push directly from the received URB handler. The tty > layer will then handle the workqueue stuff itself. Disabling tty_low_latency doesn't work,see the below thread: http://www.spinics.net/lists/linux-usb/msg26424.html Cliff -- 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