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:50:26 -0800 |
commit | aaa5ad29bc420c04cb0df5e4d6876aa32096b7d0 (patch) | |
tree | ff7f61c7c8e58cd29d88208f40ae2d879e9edfa6 /net/unix/af_unix.c | |
parent | e14bada985c4af6d192413ad72dc35758cffe286 (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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions