diff options
Diffstat (limited to 'kernel/time/tick-sched.c')
-rw-r--r-- | kernel/time/tick-sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 869997833928..4a08472c3ca7 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -406,6 +406,7 @@ static void tick_nohz_stop_sched_tick(struct tick_sched *ts) | |||
406 | */ | 406 | */ |
407 | if (!ts->tick_stopped) { | 407 | if (!ts->tick_stopped) { |
408 | select_nohz_load_balancer(1); | 408 | select_nohz_load_balancer(1); |
409 | calc_load_enter_idle(); | ||
409 | 410 | ||
410 | ts->idle_tick = hrtimer_get_expires(&ts->sched_timer); | 411 | ts->idle_tick = hrtimer_get_expires(&ts->sched_timer); |
411 | ts->tick_stopped = 1; | 412 | ts->tick_stopped = 1; |
@@ -597,6 +598,7 @@ void tick_nohz_idle_exit(void) | |||
597 | account_idle_ticks(ticks); | 598 | account_idle_ticks(ticks); |
598 | #endif | 599 | #endif |
599 | 600 | ||
601 | calc_load_exit_idle(); | ||
600 | touch_softlockup_watchdog(); | 602 | touch_softlockup_watchdog(); |
601 | /* | 603 | /* |
602 | * Cancel the scheduled timer and restore the tick | 604 | * Cancel the scheduled timer and restore the tick |