]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gameport - convert to use common workqueue instead of a thread
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Nov 2010 09:39:57 +0000 (01:39 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 18 Nov 2010 08:25:49 +0000 (00:25 -0800)
commit1cc282b047cd6a84c3e63cf9e37cb6bbe21841b7
tree58279c066e644a5da94726f1dc5eb1a7b1e2affe
parent1bd900def2ef124e080e683ae6da1d99a033bf0e
Input: gameport - convert to use common workqueue instead of a thread

Instead of creating an exclusive thread to handle gameport events (which
happen rarely), let's switch to common workqueue. With the arrival
of concurrency-managed workqueue infrastructure we are not concerned
that our callers or callees also using workqueue (no deadlocks anymore)
and it should reduce total number of threads in the system.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/gameport.c