OSDN Git Service

tty: move tty_port workqueue to be a kthread
authorPhilip Cuadra <philipcuadra@google.com>
Wed, 28 Jun 2017 19:45:08 +0000 (12:45 -0700)
committerArian <arian.kulmer@web.de>
Tue, 19 Nov 2019 14:37:35 +0000 (15:37 +0100)
commit7375d4988652eb9ddd85e323b5a24169a67d7631
treec3ab1006d197c46e41297472ce5faa0d1c0fed54
parent9e51a25919acac26e25659444572e4b3a0bb8a02
tty: move tty_port workqueue to be a kthread

This makes each tty_port have their own kthread, hopefully allowing them
a bit more freedom in scheduling when they reveive data.

Based on a patch from Philip Cuadra <philipcuadra@google.com>
Based on a patch from Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 36106419
Test: run Bluetooth audio, ensure separate tty thread is created.
Signed-off-by: Philip Cuadra <philipcuadra@google.com>
Change-Id: I9fd25235b26a66acb37a40304c356209b74ad46c
drivers/tty/tty_buffer.c
include/linux/tty.h