You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3afb1b394a
commit
f0f947c124
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user