diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-05-25 17:08:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 18:31:58 -0400 |
commit | 90ff1f30c0f401e325d6b2747618b7e3a0addaf8 (patch) | |
tree | 3b85646d25e9d27fdf6e568a145b85b2c9c79e90 /kernel | |
parent | 51b550a41c2ac0373b42f4e211f2df113b735b0a (diff) |
hrtimers: Fix typo causing erratic timers
commit 9ec2690758a5 ("timerfd: Manage cancelable timers in timerfd")
introduced a CONFIG_HIGHRES_TIMERS (should be CONFIG_HIGH_RES_TIMERS)
typo, which caused applications depending on CLOCK_REALTIME timers to
become sluggy due to the fact that the time base of the realtime
timers was not updated when the wall clock time was set.
This causes anything from 100% CPU use for some applications to odd
delays and hickups.
Reported-bisected-and-tested-by: Anca Emanuel <anca.emanuel@gmail.com>
Tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Fatfingered-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/hrtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index c541ee527ecb..a9205e32a059 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -748,7 +748,7 @@ static inline void retrigger_next_event(void *arg) { } | |||
748 | */ | 748 | */ |
749 | void clock_was_set(void) | 749 | void clock_was_set(void) |
750 | { | 750 | { |
751 | #ifdef CONFIG_HIGHRES_TIMERS | 751 | #ifdef CONFIG_HIGH_RES_TIMERS |
752 | /* Retrigger the CPU local events everywhere */ | 752 | /* Retrigger the CPU local events everywhere */ |
753 | on_each_cpu(retrigger_next_event, NULL, 1); | 753 | on_each_cpu(retrigger_next_event, NULL, 1); |
754 | #endif | 754 | #endif |