aboutsummaryrefslogtreecommitdiff
path: root/Documentation/accounting
diff options
context:
space:
mode:
authorThomas Graziadei <thomas.graziadei@omicronenergy.com>2016-05-31 15:06:06 +0200
committerJohn Stultz <john.stultz@linaro.org>2016-06-20 12:46:45 -0700
commit0209b937569a133dedfe930cdfff3a0d1d68c9e9 (patch)
treea35461164f667e343c98731f7f781d3e0b422890 /Documentation/accounting
parent0fb71d340d355156818bb53eb36ae79a3f88bda9 (diff)
timekeeping: Fix 1ns/tick drift with GENERIC_TIME_VSYSCALL_OLD
The user notices the problem in a raw and real time drift, calling clock_gettime with CLOCK_REALTIME / CLOCK_MONOTONIC_RAW on a system with no ntp correction taking place (no ntpd or ptp stuff running). The problem is, that old_vsyscall_fixup adds an extra 1ns even though xtime_nsec is already held in full nsecs and the remainder in this case is 0. Do the rounding up buisness only if needed. Cc: Prarit Bhargava <prarit@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Graziadei <thomas.graziadei@omicronenergy.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'Documentation/accounting')
0 files changed, 0 insertions, 0 deletions