summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMiroslav Lichvar <mlichvar@redhat.com>2018-06-04 15:34:21 +0200
committerJohn Stultz <john.stultz@linaro.org>2018-07-10 12:44:25 -0700
commitb061c7a513afe14a68af41cec7c3476befc40e95 (patch)
tree7ba281cefc23a75880c3c128e9b9250fa2213997 /fs
parent1416270f4a1ae83ea84156ceba19a66a8f88be1f (diff)
timekeeping: Update multiplier when NTP frequency is set directly
When the NTP frequency is set directly from userspace using the ADJ_FREQUENCY or ADJ_TICK timex mode, immediately update the timekeeper's multiplier instead of waiting for the next tick. This removes a hidden non-deterministic delay in setting of the frequency and allows an extremely tight control of the system clock with update rates close to or even exceeding the kernel HZ. The update is limited to archs using modern timekeeping (!ARCH_USES_GETTIMEOFFSET). Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@kernel.org> Cc: Miroslav Lichvar <mlichvar@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions