summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-11-10 22:51:50 +0100
committerJiri Kosina <jkosina@suse.cz>2008-11-13 10:31:36 +0100
commit43ff3a48c13f3ddc085271c2eea2985d28c8aa08 (patch)
tree3b671b4208b427c5a0e841cbfd7e23ec282cf148 /drivers
parent437184ae8bd1ef923a40b009e37801deae66ad55 (diff)
downloadtalos-obmc-linux-43ff3a48c13f3ddc085271c2eea2985d28c8aa08.tar.gz
talos-obmc-linux-43ff3a48c13f3ddc085271c2eea2985d28c8aa08.zip
HID: use single threaded work queue for hid_compat
Use single threaded work queue for hid_compat I doubt HID really needs to scale over multiple CPUs. So only use a single threaded workqueue for HID_COMPAT. This avoids some excessive thread use on systems with a larger number of CPUs. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hid/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 4f0b92edb4df..e158aa83b92f 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1736,7 +1736,7 @@ static int __init hid_init(void)
goto err_bus;
#ifdef CONFIG_HID_COMPAT
- hid_compat_wq = create_workqueue("hid_compat");
+ hid_compat_wq = create_singlethread_workqueue("hid_compat");
if (!hid_compat_wq) {
hidraw_exit();
goto err;
OpenPOWER on IntegriCloud