Re: [PATCH] TTY: missing a lock to access the ldisk buffer

2014-12-09 Thread Denis Du
nt: Monday, December 8, 2014 5:22 PM Subject: Re: [PATCH] TTY: missing a lock to access the ldisk buffer Denis, This patch won't apply to linux-next 20141208 so I can't test it :-( Which kernel does this patch apply to? On Mon, Dec 08, 2014 at 08:28:00PM +, Denis Du wrote: > H

Re: [PATCH] TTY: missing a lock to access the ldisk buffer

2014-12-08 Thread Jeremiah Mahler
Denis, This patch won't apply to linux-next 20141208 so I can't test it :-( Which kernel does this patch apply to? On Mon, Dec 08, 2014 at 08:28:00PM +, Denis Du wrote: > Hi, Guys: > I found that the 3.12 kernel tty layer will lose or corrupt data when having > a full-duplex communication,

[PATCH] TTY: missing a lock to access the ldisk buffer

2014-12-08 Thread Denis Du
Hi, Guys: I found that the 3.12 kernel tty layer will lose or corrupt data when having a full-duplex communication, especcially in high baudrate, for example 230k for my OMAP5 uart. Eventually I found there is a lock missing between copy data to ldisc layer buffer and copy data from the same buf