Skip to content

Time: Generic Timekeeping (v.C1)

john stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Time: Clocksource InfrastructureDocumentation/kernel-parameters.txt include/linux/clocksource.h kernel/time/Makefile +2 more+608 -40 replies
2/10Time: Use clocksource infrastructure for update_wall_timeinclude/linux/time.h init/main.c kernel/Makefile +1 more+84 -130 replies
3/10Time: Let user request precision from current_tick_length()arch/powerpc/kernel/time.c include/linux/timex.h kernel/timer.c+19 -60 replies
4/10Time: Use clocksource abstraction for NTP adjustmentsinclude/linux/clocksource.h kernel/timer.c+126 -190 replies
5/10Time: Introduce arch generic time accessorsinclude/linux/time.h kernel/time.c kernel/timer.c+187 -00 replies
6/10Time: i386 Conversion - part 1: Move timer_pit.c to i8253.carch/i386/kernel/Makefile arch/i386/kernel/i8253.c arch/i386/kernel/time.c +1 more+33 -190 replies
7/10Time: i386 Conversion - part 2: Rework TSC Supportarch/i386/kernel/Makefile arch/i386/kernel/numaq.c arch/i386/kernel/setup.c +7 more+389 -2170 replies
8/10Time: i386 Conversion - part 3: Enable Generic Timekeepingarch/i386/Kconfig arch/i386/kernel/Makefile arch/i386/kernel/time.c +4 more+84 -2010 replies
9/10Time: i386 Conversion - part 4: Remove Old timer_opts Codearch/i386/kernel/timers/Makefile arch/i386/kernel/timers/common.c arch/i386/kernel/timers/timer.c +6 more+0 -16420 replies
10/10Time: i386 Clocksource Driversarch/i386/kernel/Makefile arch/i386/kernel/hpet.c arch/i386/kernel/i8253.c +7 more+500 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 0/10] Time: Generic Timekeeping (v.C1)

Andrew, All,
Here is an updated version of the smaller, reworked and
improved patchset I mailed out monday. Please consider for inclusion into your tree.

Again, the majority of this new incremental design should be credited to Roman Zippel, but it is my implementation, so he gets the credit and I get the blame. :)

Summary:
This patchset provides a generic timekeeping infrastructure
that are 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 patchset also converts the i386 arch to use this new infrastructure.

Changes since the C0 release:
o Cut out functions that are no longer used
o Re-arranged patch chunks so each patch makes more sense.
o Few small fixes.
o Improved comments.

On my TODO list:
o More attention on x86-64 and powerpc
o Re-add bits needed for inclusion into HRT and RT
o Try to restore cleanups via small patches

The patchset applies against the current 2.6.16-git.

The complete patchset can be found here:

	http://sr71.net/~jstultz/tod/

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, Serge Belyshev,
Dominik Brodowski, Adrian Bunk, Thomas Gleixner, Darren Hart, Christoph Lameter, Matt Mackal, Keith Mannthey, Ingo Molnar, Andrew Morton, Paul Munt, Martin Schwidefsky, Frank Sorenson, Ulrich Windl, Jonathan Woithe, Darrick Wong, Roman Zippel and any others whom I've accidentally left off this list.

thanks
-john