public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: john stultz <johnstul@us.ibm.com>,
	george@wildturkeyranch.net, Steven Rostedt <rostedt@goodmis.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>,
	Roman Zippel <zippel@linux-m68k.org>, Ingo Molnar <mingo@elte.hu>
Subject: [PATCHSET 0/10] Time: Generic Timekeeping (v.C0)
Date: Fri, 17 Mar 2006 17:39:56 -0700	[thread overview]
Message-ID: <20060318003955.32251.80532.sendpatchset@cog.beaverton.ibm.com> (raw)

All,
	So after after the last round of feedback on this series, I've 
gone back to the drawing board and have tried to further cut the patch 
set down to the bare minimum.
	
I've realized that much of the trouble getting this into mainline have 
come from my falling into the well known "here's a new subsystem that 
duplicates the old one, but is better and cleaner and fixes bugs" trap. 
Thus now I'm trying the time-tested "fix what is there with small 
patches" method (which I would have used from the start, but I didn't 
think I could make such drastic changes without breaking everyone 
first).

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. :)

This is the rough first cut, so it will probably need a few extra 
passes to be cleaned up and ready for mainline. And while there should 
not be any behaviour changes, since this method also affects all arches 
from the start, extra testing will be needed to make sure it has been 
done correctly. Also more work is needed before this can be 
re-integrated w/ the -RT tree, as timekeeping is still done from 
interrupt context.


Summary:
	This patchset provides a generic timekeeping interfaces 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.


Changes since the B20 release:
o Threw out old NTP changes
o Threw out all code cleanups
o New minimal core implementation for all arches
o Added sysfs clocksource fix
o Added slow TSC detection

On my TODO list:
o Get x86-64 and powerpc patches back up and running
o Try to restore cleanups via small patches

The patchset applies against the current 2.6.16-rc6-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

             reply	other threads:[~2006-03-18  0:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-18  0:39 john stultz [this message]
2006-03-18  0:40 ` [PATCH 1/10] Time: Clocksource Infrastructure john stultz
2006-03-18  0:40 ` [PATCH 2/10] Time: Use clocksource infrastructure for update_wall_time john stultz
2006-03-18  0:40 ` [PATCH 3/10] Time: Let user request precision from current_tick_length() john stultz
2006-03-18  0:40 ` [PATCH 4/10] Time: Use clocksource abstraction for NTP adjustments john stultz
2006-03-18  0:40 ` [PATCH 5/10] Time: Introduce arch generic time accessors john stultz
2006-03-18  0:40 ` [PATCH 6/10] Time: i386 Conversion - part 1: Move timer_pit.c to i8253.c john stultz
2006-03-18  0:40 ` [PATCH 7/10] Time: i386 Conversion - part 2: Rework TSC Support john stultz
2006-03-18  0:40 ` [PATCH 8/10] Time: i386 Conversion - part 3: Enable Generic Timekeeping john stultz
2006-03-18  0:40 ` [PATCH 9/10] Time: i386 Conversion - part 4: Remove Old timer_opts Code john stultz
2006-03-18  0:40 ` [PATCH 10/10] Time: i386 Clocksource Drivers john stultz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060318003955.32251.80532.sendpatchset@cog.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=george@wildturkeyranch.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=ulrich.windl@rz.uni-regensburg.de \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox