]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: serio/gameport - use 'long' system workqueue
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Feb 2011 16:51:28 +0000 (08:51 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Feb 2011 16:53:07 +0000 (08:53 -0800)
commit1d64b655dc083df5c5ac39945ccbbc6532903bf1
treea61e2c1d368d4e1e76fc12e95092df81db0cc3ea
parent9bb794ae0509f39abad6593793ec86d490bad31b
Input: serio/gameport - use 'long' system workqueue

Commit 8ee294cd9def0004887da7f44b80563493b0a097 converted serio
subsystem event handling from using a dedicated thread to using
common workqueue. Unfortunately, this regressed our boot times,
due to the fact that serio jobs take long time to execute. While
the new concurrency managed workqueue code manages long-playing
works just fine and schedules additional workers as needed, such
works wreck havoc among remaining users of flush_scheduled_work().

To solve this problem let's move serio/gameport works from system_wq
to system_long_wq which nobody tries to flush.

Reported-and-tested-by: Hernando Torque <pantherchen@versanet.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/gameport.c
drivers/input/serio/serio.c