summaryrefslogtreecommitdiff
path: root/drivers/tty/n_tty.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-06-15 13:14:36 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-23 23:43:03 (GMT)
commitf0f947c124e05ec977019b974b12dfe171dd7148 (patch)
treef7c5fec97bc23b71806c46ef885385a1744009fb /drivers/tty/n_tty.c
parent3afb1b394a49d1237c9c0af8e8b724ddfe5b94ba (diff)
downloadlinux-fsl-qoriq-f0f947c124e05ec977019b974b12dfe171dd7148.tar.xz
n_tty: Queue buffer work on any available cpu
Scheduling buffer work on the same cpu as the read() thread limits the parallelism now possible between the receive_buf path and the n_tty_read() path. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
-rw-r--r--drivers/tty/n_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c
index 59eb444..a69470e 100644
--- a/drivers/tty/n_tty.c
+++ b/drivers/tty/n_tty.c
@@ -198,7 +198,7 @@ static void n_tty_set_room(struct tty_struct *tty)
*/
WARN_RATELIMIT(test_bit(TTY_LDISC_HALTED, &tty->flags),
"scheduling buffer work for halted ldisc\n");
- schedule_work(&tty->port->buf.work);
+ queue_work(system_unbound_wq, &tty->port->buf.work);
}
}