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

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

 



I have tried, but it doesn't works.The g_serial even can't be
connected. I dont't know why, I'm not familiar with tty layer.

PS: Should we write a console for g_serial? I think it may be as
useful as real serial on code debug in handheld device.


2010/1/21 Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>:
> 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.
>
--
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