mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Cc: [email protected] Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
695588f945
commit
a85f1a41f0
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ static void cursor_timer_handler(unsigned long dev_addr)
|
|||
struct fb_info *info = (struct fb_info *) dev_addr;
|
||||
struct fbcon_ops *ops = info->fbcon_par;
|
||||
|
||||
schedule_work(&info->queue);
|
||||
queue_work(system_power_efficient_wq, &info->queue);
|
||||
mod_timer(&ops->cursor_timer, jiffies + HZ/5);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue