mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
ARM: idle: update idle ticks before call idle end notifier
Such that interactive cpufreq governor uses up-to-date idle time information. Reported by Colin Cross <ccross@android.com> Change-Id: I06425444f800f803afc9dc7a6ad0fdb46c918bb6 Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
@@ -248,8 +248,8 @@ void cpu_idle(void)
|
||||
local_irq_enable();
|
||||
}
|
||||
}
|
||||
idle_notifier_call_chain(IDLE_END);
|
||||
tick_nohz_restart_sched_tick();
|
||||
idle_notifier_call_chain(IDLE_END);
|
||||
preempt_enable_no_resched();
|
||||
schedule();
|
||||
preempt_disable();
|
||||
|
||||
Reference in New Issue
Block a user