]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/time/tick-sched.c
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / kernel / time / tick-sched.c
index 0ec8b832ab6bfe88819a48be3bab229e1a4e4ad5..7656642e4b8ef4d8d516087ce9f5f92d8db16a4c 100644 (file)
@@ -466,6 +466,14 @@ void tick_nohz_idle_enter(void)
 
        WARN_ON_ONCE(irqs_disabled());
 
+       /*
+        * Update the idle state in the scheduler domain hierarchy
+        * when tick_nohz_stop_sched_tick() is called from the idle loop.
+        * State will be updated to busy during the first busy tick after
+        * exiting idle.
+        */
+       set_cpu_sd_state_idle();
+
        local_irq_disable();
 
        ts = &__get_cpu_var(tick_cpu_sched);