login
Header Space

 
 

Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: john stultz <johnstul@...>
Cc: lkml <linux-kernel@...>, Ingo Molnar <mingo@...>
Date: Saturday, March 15, 2008 - 12:50 am

Hi,

On Fri, 14 Mar 2008, john stultz wrote:


A general comment: the raw clock doesn't need any adjustments, so updates 
don't have to be done that frequently and you can move most of that logic 
into second_overflow().


IMO that's really a clock property, so this belongs in the clock 
structure.
(Some day we may want to have multiple active clocks for various purposes 
and thus export multiple raw clocks.)


You don't really have to use clock->shift as a scale, thus simplifying the 
shifting here (e.g. by using NTP_SCALE_SHIFT).
I'm thinking about doing this for e.g. xtime_nsec as well.

bye, Roman
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] time/ntp changes, john stultz, (Sat Mar 15, 12:04 am)
[PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, john stultz, (Sat Mar 15, 12:06 am)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, Roman Zippel, (Sat Mar 15, 12:50 am)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, john stultz, (Mon Mar 17, 10:03 pm)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, Roman Zippel, (Tue Mar 25, 11:41 pm)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, john stultz, (Mon Mar 17, 10:27 pm)
[PATCH 3/5] cleanups ntp.c (from Ingo), john stultz, (Sat Mar 15, 12:10 am)
Re: [PATCH 3/5] cleanups ntp.c (from Ingo), Jörg-Volker Peetz, (Sat Mar 15, 5:32 am)
Re: [PATCH 3/5] cleanups ntp.c (from Ingo), Roman Zippel, (Sat Mar 15, 1:23 pm)
Re: [PATCH 3/5] cleanups ntp.c (from Ingo), Roman Zippel, (Sat Mar 15, 1:06 am)
[PATCH 4/5] ntp.c code flow clenaups (from Ingo), john stultz, (Sat Mar 15, 12:12 am)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), Ingo Oeser, (Sat Mar 15, 8:39 am)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), Roman Zippel, (Sat Mar 15, 1:24 pm)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), Roman Zippel, (Sat Mar 15, 12:52 am)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), John Stultz, (Sat Mar 15, 1:04 am)
[PATCH 5/5] make more ntp values static, john stultz, (Sat Mar 15, 12:15 am)
Re: [PATCH 5/5] make more ntp values static, Roman Zippel, (Sat Mar 15, 1:09 am)
speck-geostationary