From: john stultz Date: Thu, 19 Feb 2009 00:02:22 +0000 (-0800) Subject: time: apply NTP frequency/tick changes immediately X-Git-Tag: v2.6.30-rc1~657^2^3~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdcedf7b75808dd72c3cc0b931be11b04d75c60a;p=pandora-kernel.git time: apply NTP frequency/tick changes immediately Since the GENERIC_TIME changes landed, the adjtimex behavior changed for struct timex.tick and .freq changed. When the tick or freq value is set, we adjust the tick_length_base in ntp_update_frequency(). However, this new value doesn't get applied to tick_length until the next second (via second_overflow). This means some applications that do quick time tweaking do not see the requested change made as quickly as expected. I've run a few tests with this change, and ntpd still functions fine. Signed-off-by: John Stultz Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed