projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050c06e
)
ARM: idle: update idle ticks before call idle end notifier
author
Todd Poynor
<toddpoynor@google.com>
Fri, 4 Nov 2011 04:05:41 +0000
(21:05 -0700)
committer
Todd Poynor
<toddpoynor@google.com>
Thu, 10 Nov 2011 02:54:16 +0000
(18:54 -0800)
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>
arch/arm/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/process.c
b/arch/arm/kernel/process.c
index 6810cc1b7c4272e3e0d73537bc61b32df952d0f5..54c97eee617345ce46d64a60c46c4e06b341cf53 100644
(file)
--- a/
arch/arm/kernel/process.c
+++ b/
arch/arm/kernel/process.c
@@
-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();