[PATCH 0/13] Time: Generic Timeofday Subsystem (v B10)

john stultz
2005-11-12T04:48:54Z

All,
I had hoped to submit this to -mm today, but since Ingo pointed
out an issue in the __delay code, I'm going to wait a week so the new fix
can be better tested.

The following patchset applies against 2.6.14-mm2 (with some offsets
and fuzz) and provides a generic timekeeping subsystem that is independent
of the timer interrupt. This allows for robust and correct behavior in
cases of late or lost ticks, avoids interpolation errors, reduces
duplication in arch specific code, and allows or assists future changes
such as high-res timers, dynamic ticks, or realtime preemption.
Additionally, it provides finer nanosecond resolution values to the
clock_gettime functions.

The patch set provides the minimal NTP changes, the clocksource
abstraction, the core timekeeping code as well as the code to convert
the i386 and x86-64 archs. I have started on converting more arches, but
for now I'm focusing on i386 and x86-64.

Thomas Gleixner has been quite helpful in deeply reviewing and
suggesting changes to the code, so many thanks to him for his help!

New in this release:
o Use ktimer for periodic_hook
o minor performance tweaks
o i386 __delay fix
o docs and howtos in Documentation/timekeeping.txt

Still on the TODO list:
o Get a weeks worth of testing
o Submit to -mm (planned for the next release)

I'd like to thank the following people who have contributed ideas,
criticism, testing and code that has helped shape this work:

George Anzinger, Nish Aravamudan, Max Asbock, Dominik Brodowski, Thomas
Gleixner, Darren Hart, Christoph Lameter, Matt Mackal, Keith Mannthey,
Ingo Molnar, Martin Schwidefsky, Frank Sorenson, Ulrich Windl, Darrick
Wong, Roman Zippel and any others whom I've accidentally forgotten.

Please let me know if you have any comments or feedback.

thanks
-john