From: Tejun Heo Date: Fri, 2 Jul 2010 08:03:51 +0000 (+0200) Subject: workqueue: remove WQ_SINGLE_CPU and use WQ_UNBOUND instead X-Git-Tag: v2.6.36-rc1~506^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7fc77f78f16d138ca997ce096a62f46e2e9420a;p=pandora-kernel.git workqueue: remove WQ_SINGLE_CPU and use WQ_UNBOUND instead WQ_SINGLE_CPU combined with @max_active of 1 is used to achieve full ordering among works queued to a workqueue. The same can be achieved using WQ_UNBOUND as unbound workqueues always use the gcwq for WORK_CPU_UNBOUND. As @max_active is always one and benefits from cpu locality isn't accessible anyway, serving them with unbound workqueues should be fine. Drop WQ_SINGLE_CPU support and use WQ_UNBOUND instead. Note that most single thread workqueue users will be converted to use multithread or non-reentrant instead and only the ones which require strict ordering will keep using WQ_UNBOUND + @max_active of 1. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed