diff options
author | John Stultz <john.stultz@linaro.org> | 2013-12-10 17:13:35 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:55:45 -0800 |
commit | 36050e26ea36f130d1c36fe51c4ffffdff49fe72 (patch) | |
tree | 7cf00c01b16b7c7c8ce7cef3944e6d4d5a3ece53 /fs/jbd/commit.c | |
parent | de5cfcdd23d1001fc9348c17570ffc1f7bc0efee (diff) |
timekeeping: Fix CLOCK_TAI timer/nanosleep delays
commit 04005f6011e3b504cd4d791d9769f7cb9a3b2eae upstream.
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>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions