From: Evgeniy Polyakov Date: Mon, 24 Mar 2008 04:51:12 +0000 (-0700) Subject: connector: convert to single-threaded workqueue X-Git-Tag: v2.6.25-rc7~25^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4b1b366721101f2f0d2350fbdccb679f7909cf57;p=linux-2.6-omap-h63xx.git connector: convert to single-threaded workqueue From: Evgeniy Polyakov We don't need one cqueue thread for each CPU. cqueue is used for receiving userspace datagrams, which are very rare and thus will happily live with a single queue. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/drivers/connector/cn_queue.c b/drivers/connector/cn_queue.c index 5732ca3259f..b6fe7e7a2c2 100644 --- a/drivers/connector/cn_queue.c +++ b/drivers/connector/cn_queue.c @@ -146,7 +146,7 @@ struct cn_queue_dev *cn_queue_alloc_dev(char *name, struct sock *nls) dev->nls = nls; - dev->cn_queue = create_workqueue(dev->name); + dev->cn_queue = create_singlethread_workqueue(dev->name); if (!dev->cn_queue) { kfree(dev); return NULL;