]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] add receive_room flow control to flush_to_ldisc
authorPaul Fulghum <paulkf@microgate.com>
Wed, 28 Jun 2006 11:26:48 +0000 (04:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:05 +0000 (14:59 -0700)
commit2c3bb20f46709a0adfa7ea408013edbcab945d5a
tree951dde0a4ea31892635886afb1e3f0f03847b1f0
parent817d6d3bceaf34c99f5343820f9b9e6021f0655c
[PATCH] add receive_room flow control to flush_to_ldisc

Flush data serially to line discipline in blocks no larger than
tty->receive_room to avoid losing data if line discipline is busy (such as
N_TTY operating at high speed on heavily loaded system) or does not accept
data in large blocks (such as N_MOUSE).

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tty_io.c