]> git.karo-electronics.de Git - linux-beck.git/commit
tty: move global ldisc idle waitqueue to the individual ldisc
authorIvo Sieben <meltedpianoman@gmail.com>
Thu, 3 May 2012 12:37:43 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 May 2012 18:24:03 +0000 (11:24 -0700)
commit1541f845d123a48fbca3cee32b2963b3fb3da83a
treeace9a1f9278ea84101359d189894c71548193136
parent3e62c413fb0c75c8cfaf086d00a9ecc6b55009d6
tty: move global ldisc idle waitqueue to the individual ldisc

The global wait_queue that is used for line discipline idle handling is
moved to a separate wait_queue for each line instance. This prevents
unnecessary blocking on one line, because of idle handling on another
line.

Signed-off-by: Ivo Sieben <meltedpianoman@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ldisc.c
include/linux/tty_ldisc.h