diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-11 13:24:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-11 13:24:16 -0500 |
commit | fdb0ee7c65781464168e2943a3fd6f1e66a397c9 (patch) | |
tree | 4c1e8f5d1be9b34087f29d76577d8e6ec40962e1 | |
parent | d5b76bef01047843cc65bd018046c76182b1fc81 (diff) | |
parent | 7bdb59f1ad474bd7161adc8f923cdef10f2638d1 (diff) |
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fix from Ingo Molnar:
"Fix a sporadic missed timer hw reprogramming bug that can result in
random delays"
* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
tick/nohz: Fix possible missing clock reprog after tick soft restart
-rw-r--r-- | kernel/time/tick-sched.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 74e0388cc88d..fc6f740d0277 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -725,6 +725,11 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts, | |||
725 | */ | 725 | */ |
726 | if (delta == 0) { | 726 | if (delta == 0) { |
727 | tick_nohz_restart(ts, now); | 727 | tick_nohz_restart(ts, now); |
728 | /* | ||
729 | * Make sure next tick stop doesn't get fooled by past | ||
730 | * clock deadline | ||
731 | */ | ||
732 | ts->next_tick = 0; | ||
728 | goto out; | 733 | goto out; |
729 | } | 734 | } |
730 | } | 735 | } |