Skip to content

Time: Generic Timeofday Subsystem (v B14)

john stultz lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13Time: Reduced NTP rework (part 1)kernel/timer.c+85 -380 replies
2/13Time: Reduced NTP Rework (part 2)include/linux/timex.h kernel/time.c kernel/timer.c+165 -100 replies
3/13Time: Clocksource InfrastructureDocumentation/kernel-parameters.txt include/linux/clocksource.h kernel/Makefile +3 more+704 -40 replies
4/13Time: Generic Timekeeping InfrastructureDocumentation/timekeeping.txt drivers/char/hangcheck-timer.c include/asm-generic/timeofday.h +11 more+1169 -110 replies
5/13Time: 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/13Time: 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/13Time: 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/13Time: 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 -320 replies
9/13Time: i386 Conversion - part 5: Enable Generic Timekeepingarch/i386/Kconfig arch/i386/kernel/Makefile arch/i386/kernel/time.c +5 more+104 -2610 replies
10/13Time: 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/13Time: i386/x86-64 Clocksource Driversarch/i386/kernel/Makefile arch/i386/kernel/hpet.c arch/i386/kernel/i8253.c +5 more+461 -10 replies
12/13Time: x86-64 Conversion to Generic Timekeepingarch/i386/kernel/acpi/boot.c arch/x86_64/Kconfig arch/x86_64/kernel/Makefile +9 more+350 -4680 replies
13/13Time: Generic Timekeeping Paraniod Debug Patcharch/i386/kernel/tsc.c arch/x86_64/kernel/time.c include/asm-generic/bug.h +2 more+202 -20 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/13] Time: Generic Timeofday Subsystem (v B14)

All,
The following patchset applies against 2.6.15-rc5-git + the
hrtimer patch-set 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.

The current patchset can be found here:

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

New in this release:
x clock_was_set
x x86-64 vsyscall fix suggested by Serge Belyshev. x dropped c3tsc for ACPI PM
x dropped ACPI PM rate verification (causing false positives)

Still on the TODO list:
o nothing?

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.

thanks
-john