Browse files

ARM: idle: call idle notifiers before stopping nohz tick

If an idle notifier modifies a timer, calling the notifier after
the sched tick has been stopped may leave the sched tick set too
early.  Move teh idle notifier call before the call to

Change-Id: I0db3284bec6d0193bc5e2a57650ab06bd8342319
Signed-off-by: Colin Cross <>
  • Loading branch information...
colincross authored and Kali- committed Nov 30, 2011
1 parent 7ad56df commit c1266d4864dda60eb7ac301b304b58e69e09e7b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 arch/arm/kernel/process.c
@@ -147,8 +147,8 @@ void cpu_idle(void)
/* endless idle loop with no priority at all */
while (1) {
- tick_nohz_stop_sched_tick(1);
+ tick_nohz_stop_sched_tick(1);
while (!need_resched()) {
if (cpu_is_offline(smp_processor_id()))

0 comments on commit c1266d4

Please sign in to comment.