fbcon: queue work on power efficient wq
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 24 Apr 2013 11:42:57 +0000 (17:12 +0530)
committerMark Brown <broonie@linaro.org>
Thu, 18 Jul 2013 13:31:10 +0000 (14:31 +0100)
commit3e9dc2afddfc1d76719f84ab5ea6b37e0fff5c46
tree04f4d82e30f8d6f7061022c010c9aeb3f5920607
parent4d5c9ea3313e410686855496f556d90e589ed2e2
fbcon: queue work on power efficient wq

fbcon uses workqueues and it has no real dependency of scheduling these on the
cpu which scheduled them.

On a idle system, it is observed that and idle cpu wakes up many times just to
service this work. It would be better if we can schedule it on a cpu which the
scheduler believes to be the most appropriate one.

This patch replaces system_wq with system_power_efficient_wq.

Cc: Dave Airlie <airlied@redhat.com>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
(cherry picked from commit a85f1a41f020bc2c97611060bcfae6f48a1db28d)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/video/console/fbcon.c