mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Darren Hart <dvhltc@us.ibm.com>,
	Nishanth Aravamudan <nacc@us.ibm.com>,
	Frank Sorenson <frank@tuxrocks.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	George Anzinger <george@mvista.com>,
	Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>,
	Roman Zippel <zippel@linux-m68k.org>
Subject: [RFC][PATCH] Generic Timekeeping Rework (cumulative - bz'ed) (v. B6)
Date: Thu, 29 Sep 2005 18:02:08 -0700	[thread overview]
Message-ID: <1128042129.8195.336.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <1128040851.8195.307.camel@cog.beaverton.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 4404 bytes --]

On Thu, 2005-09-29 at 17:40 -0700, john stultz wrote:
> All,
> 	Here is the cumulative patch for my generic timekeeping rework (v. B6).
> Individual broken out patches to follow. This patch provides the NTP
> changes, the timesource abstraction, the core timekeeping code as well
> as the code to convert the i386 arch.
> 
> New in this release:
> o Minimized the NTP changes needed to better facilitate discussion
> o Maintains both timespec and nsec_t timekeeping values to improve
> performance.
> o Implemented a first pass at Roman's idea for fixed interval time
> accounting in the interrupt hot-path. More optimizations are likely to
> follow, but this hopefully illustrates some improvement and forward
> progress.
> o Added hooks to allow unified code between systems with continuous
> hardware timesource and those that require tick/offset time accounting
> without the performance penalty the old method would cause.
> 
> Notes:
> Some of these changes have affected the codes readability, but hopefully
> this will be resolved in future versions.
> 
> Since its been awhile since the last release, I'd not be surprised if a
> few regressions have shown up. I've tested this on my laptop, but not
> very widely. Any problem reports would be greatly appreciated. 
> 
> This patch should apply against Linus' git tree from today.
> 
> Please let me know if you have any comments or feedback.
> 
> thanks
> -john
> 
> 	
>  arch/i386/kernel/timers/Makefile              |    9 
>  arch/i386/kernel/timers/common.c              |  172 -------
>  arch/i386/kernel/timers/timer.c               |   75 ---
>  arch/i386/kernel/timers/timer_cyclone.c       |  259 -----------
>  arch/i386/kernel/timers/timer_hpet.c          |  212 ---------
>  arch/i386/kernel/timers/timer_none.c          |   39 -
>  arch/i386/kernel/timers/timer_pit.c           |  176 -------
>  arch/i386/kernel/timers/timer_pm.c            |  268 -----------
>  arch/i386/kernel/timers/timer_tsc.c           |  595 --------------------------
>  b/Documentation/kernel-parameters.txt         |    7 
>  b/arch/i386/Kconfig                           |    4 
>  b/arch/i386/kernel/Makefile                   |    3 
>  b/arch/i386/kernel/acpi/boot.c                |   14 
>  b/arch/i386/kernel/i8259.c                    |   40 +
>  b/arch/i386/kernel/setup.c                    |    1 
>  b/arch/i386/kernel/time.c                     |  220 +--------
>  b/arch/i386/kernel/tsc.c                      |  306 +++++++++++++
>  b/arch/i386/lib/delay.c                       |   16 
>  b/drivers/Makefile                            |    1 
>  b/drivers/acpi/processor_idle.c               |    6 
>  b/drivers/char/hangcheck-timer.c              |    5 
>  b/drivers/timesource/Makefile                 |    8 
>  b/drivers/timesource/acpi_pm.c                |  152 ++++++
>  b/drivers/timesource/cyclone.c                |  138 ++++++
>  b/drivers/timesource/hpet.c                   |   59 ++
>  b/drivers/timesource/i386_pit.c               |   63 ++
>  b/drivers/timesource/jiffies.c                |   74 +++
>  b/drivers/timesource/tsc-interp.c             |  112 ++++
>  b/drivers/timesource/tsc.c                    |   92 ++++
>  b/include/asm-generic/timeofday.h             |   26 +
>  b/include/asm-i386/mach-default/mach_timer.h  |    4 
>  b/include/asm-i386/mach-summit/mach_mpparse.h |    2 
>  b/include/asm-i386/timeofday.h                |    4 
>  b/include/asm-i386/timer.h                    |   57 --
>  b/include/asm-i386/timex.h                    |   34 -
>  b/include/asm-i386/tsc.h                      |   50 ++
>  b/include/linux/time.h                        |    4 
>  b/include/linux/timeofday.h                   |   83 +++
>  b/include/linux/timesource.h                  |  172 +++++++
>  b/include/linux/timex.h                       |   33 +
>  b/init/main.c                                 |    2 
>  b/kernel/Makefile                             |    1 
>  b/kernel/time.c                               |   90 ++-
>  b/kernel/timeofday.c                          |  575 +++++++++++++++++++++++++
>  b/kernel/timer.c                              |  305 ++++++++-----
>  b/kernel/timesource.c                         |  259 +++++++++++
>  46 files changed, 2583 insertions(+), 2244 deletions(-)


Ack. I just realized I might hit size restrictions on lkml. 

bz'ed patch attached.

Sorry,
-john


[-- Attachment #2: linux-2.6.14-rc2_timeofday-all_B6.patch.bz2 --]
[-- Type: application/x-bzip, Size: 33967 bytes --]

      parent reply	other threads:[~2005-09-30  1:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1128040851.8195.307.camel@cog.beaverton.ibm.com>
2005-09-30  0:42 ` [RFC][PATCH 1/11] Reduced NTP rework (part 1) john stultz
2005-09-30  0:44   ` [RFC][PATCH 2/11] Reduced NTP rework (part 2) john stultz
2005-09-30  0:45     ` [RFC][PATCH 3/11] timesource management code john stultz
2005-09-30  0:46       ` [PATCH 4/11] generic timeofday core subsystem john stultz
2005-09-30  0:48         ` [RFC][PATCH 5/11] generic timeofday i386 arch specific changes, part 1 john stultz
2005-09-30  0:49           ` [RFC][PATCH 6/11] generic timeofday i386 arch specific changes, part 2 john stultz
2005-09-30  0:49             ` [RFC][PATCH 7/11] generic timeofday i386 arch specific changes, part 3 john stultz
2005-09-30  0:50               ` [RFC][PATCH 8/11] generic timeofday i386 arch specific changes, part 4 john stultz
2005-09-30  0:51                 ` [RFC][PATCH 9/11] generic timeofday i386 arch specific changes, part 5 john stultz
2005-09-30  0:52                   ` [RFC][PATCH 10/11] generic timeofday i386 arch specific changes, part 6 john stultz
2005-09-30  0:53                     ` [RFC][PATCH 11/11] generic timeofday i386 specific timesources john stultz
2005-09-30  1:02 ` john stultz [this message]

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=1128042129.8195.336.camel@cog.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=dvhltc@us.ibm.com \
    --cc=frank@tuxrocks.com \
    --cc=george@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nacc@us.ibm.com \
    --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

all inboxes | Powered by JetHome®