diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-24 07:42:57 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-05-14 13:50:07 -0400 |
commit | a85f1a41f020bc2c97611060bcfae6f48a1db28d (patch) | |
tree | a39c1156391330dbcb16c4cbfcf51a61a231b8fd /drivers/video | |
parent | 695588f9454bdbc7c1a2fbb8a6bfdcfba6183348 (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/console/fbcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index a92783e480e6..0d8f98c79a6c 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -404,7 +404,7 @@ static void cursor_timer_handler(unsigned long dev_addr) | |||
404 | struct fb_info *info = (struct fb_info *) dev_addr; | 404 | struct fb_info *info = (struct fb_info *) dev_addr; |
405 | struct fbcon_ops *ops = info->fbcon_par; | 405 | struct fbcon_ops *ops = info->fbcon_par; |
406 | 406 | ||
407 | schedule_work(&info->queue); | 407 | queue_work(system_power_efficient_wq, &info->queue); |
408 | mod_timer(&ops->cursor_timer, jiffies + HZ/5); | 408 | mod_timer(&ops->cursor_timer, jiffies + HZ/5); |
409 | } | 409 | } |
410 | 410 | ||