Re: [PATCH] USB: serial: Fix atomic schedule in u_serial.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux