Messages in this thread | | | Date | Thu, 22 Dec 2005 00:19:13 +0100 (CET) | From | Roman Zippel <> | Subject | [PATCH 0/10] NTP4 updates |
| |
Hi,
The following patches convert the kernel NTP code to NTP4. The first 8 patches do some functional cleanups, which adds as much precalculations as possible to simplify the fast path and which also increase resolution and precision of the calculations.
The 9th patch completes the conversion to NTP4, it only converts the kernel part, it doesn't change yet the user interface (this would also require a patched glibc or ntpd to be useful).
I updated the patches at http://www.xs4all.nl/~zippel/ntp/ (in patches-kernel) to upgrade the old NTP reference to NTP4, I used this to verify the behaviour compared to the nanokernel reference. Running nano.sh should produce a similiar output to the kern.dat input parameters.
The last patch provides an example of how to implement a continuous gettimeofday on top of these patches, a more detailed explanation is included with the patch. There is a small test program at http://www.xs4all.nl/~zippel/ntp/clocktest.c I used to test the behaviour (it simulates random ntp adjustments, lost interrupts and random updates). Compared to the kernel code it maintains a bit more state and may be a bit easier to understand, but you also have to check the source to understand the output. :)
bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |