diff options
author | John Stultz <john.stultz@linaro.org> | 2013-12-11 02:13:35 +0100 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-12-23 20:54:34 +0100 |
commit | 04005f6011e3b504cd4d791d9769f7cb9a3b2eae (patch) | |
tree | 9d2d3283a854a9dca0cee332069679818f674963 /kernel/trace/ring_buffer.c | |
parent | tick/timekeeping: Call update_wall_time outside the jiffies lock (diff) | |
download | linux-04005f6011e3b504cd4d791d9769f7cb9a3b2eae.tar.xz linux-04005f6011e3b504cd4d791d9769f7cb9a3b2eae.zip |
timekeeping: Fix CLOCK_TAI timer/nanosleep delays
A think-o in the calculation of the monotonic -> tai time offset
results in CLOCK_TAI timers and nanosleeps to expire late (the
latency is ~2x the tai offset).
Fix this by adding the tai offset from the realtime offset instead
of subtracting.
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: stable <stable@vger.kernel.org> #3.10+
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions