Skip to content

Time: Generic Timeofday Subsystem (v B14-mm)

john stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Time: Reduced NTP rework (part 1)kernel/timer.c+85 -380 replies
2/11Time: Reduced NTP Rework (part 2)include/linux/timex.h kernel/time.c kernel/timer.c+165 -100 replies
3/11Time: Clocksource InfrastructureDocumentation/kernel-parameters.txt include/linux/clocksource.h kernel/Makefile +3 more+704 -40 replies
4/11Time: Generic Timekeeping InfrastructureDocumentation/timekeeping.txt drivers/char/hangcheck-timer.c include/asm-generic/timeofday.h +11 more+1169 -110 replies
5/11Time: 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+60 -200 replies
6/11Time: i386 Conversion - part 2: Move timer_tsc.c to tsc.carch/i386/kernel/Makefile arch/i386/kernel/timers/common.c arch/i386/kernel/timers/timer_tsc.c +3 more+358 -3300 replies
7/11Time: i386 Conversion - part 3: Rework TSC Supportarch/i386/kernel/setup.c arch/i386/kernel/tsc.c drivers/acpi/processor_idle.c +3 more+116 -1010 replies
8/11Time: i386 Conversion - part 4: ACPI PM variable renaming and config change.arch/i386/kernel/acpi/boot.c drivers/acpi/Kconfig drivers/acpi/osl.c+10 -323 replies
9/11Time: i386 Conversion - part 5: Enable Generic Timekeepingarch/i386/Kconfig arch/i386/kernel/Makefile arch/i386/kernel/time.c +5 more+104 -2610 replies
10/11Time: i386 Conversion - part 6: Remove Old Codearch/i386/kernel/timers/Makefile arch/i386/kernel/timers/common.c arch/i386/kernel/timers/timer.c +6 more+0 -15070 replies
11/11Time: i386 Clocksource Driversarch/i386/kernel/Makefile arch/i386/kernel/hpet.c arch/i386/kernel/i8253.c +5 more+461 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/11] Time: Generic Timeofday Subsystem (v B14-mm)

Andrew, All,
So after a number of releases and empty threats of sending in
this code to Andrew, there has still been mostly silence regarding any objections to these patches. Thus I figure its time to stir the pot and really submit these patches for inclusion to -mm (and maybe, just maybe, catch Andrew before he leaves for vacation :)

This patchset 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 i386. I have started on converting more arches, but for now I'm only submmiting code for i386.

The following patchset applies against the current 2.6.15-rc5-git + the hrtimer patch-set already in -mm and applies against 2.6.15-rc5-mm3 with only minor collisions in Makefiles.

The complete patchset (sent yesterdray including code for x86-64) 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, Thomas Gleixner, Darren Hart, Christoph Lameter, Matt Mackal, Keith Mannthey, Ingo Molnar, Martin Schwidefsky, Frank Sorenson, Ulrich Windl, Jonathan Woithe, Darrick Wong, Roman Zippel and any others whom I've accidentally left off this list.

Andrew, please consider for inclusion into your tree.

thanks
-john