mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02: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:
parent
050c06eed4
commit
2665c41357
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user