workqueue: Add system wide power_efficient workqueues
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 24 Apr 2013 11:42:54 +0000 (17:12 +0530)
committerTejun Heo <tj@kernel.org>
Tue, 14 May 2013 17:50:06 +0000 (10:50 -0700)
commit0668106ca3865ba945e155097fb042bf66d364d3
treefbd6adfc2ae2f3c2b7fe7ad66d82cd7c64a001fb
parentcee22a15052faa817e3ec8985a28154d3fabc7aa
workqueue: Add system wide power_efficient workqueues

This patch adds system wide workqueues aligned towards power saving. This is
done by allocating them with WQ_UNBOUND flag if 'wq_power_efficient' is set to
'true'.

tj: updated comments a bit.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/workqueue.h
kernel/workqueue.c