]> git.baikalelectronics.ru Git - kernel.git/commit
sc16is7xx: use kthread_worker for tx_work and irq
authorJakub Kicinski <kubakici@wp.pl>
Fri, 29 May 2015 19:20:29 +0000 (21:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:47:27 +0000 (06:47 +0900)
commit41bcdbff98bcf6380c0963855cd9632a44453fd0
tree9da5fb10d4bc5322671fd56c3ace0d056a54f8bc
parentf4de5b6531c103c4b99e179242584c7812714b19
sc16is7xx: use kthread_worker for tx_work and irq

Convert workqueue usage to a real-time kworker.  The problem
with workqueues is that we cannot set real-time priorities on
our work and asynchronous reconfiguration can be blocked by
less important tasks.

We need kthread for the interrupt anyway and because we will
now be using single kthread for all TX-related operations we
can get rid of the port mutex.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c