]> git.baikalelectronics.ru Git - kernel.git/commit
n_tty: Don't wait for buffer work in read() loop
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:29 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:02 +0000 (16:43 -0700)
commit7a354a5f2bdfb768a963bb2376b7a1725ae0fec1
tree0cb875c59a1fe4f13107660bc576c6e801335a5e
parentac46928d55aa0bba63c04fb4cd5cf51198b5edbc
n_tty: Don't wait for buffer work in read() loop

User-space read() can run concurrently with receiving from device;
waiting for receive_buf() to complete is not required.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c