Re: [PATCH 1/5] generic clocksource updates

From: john stultz
Date: Fri Apr 07 2006 - 17:09:19 EST


On Fri, 2006-04-07 at 22:43 +0200, Roman Zippel wrote:
> Hi,
>
> On Thu, 6 Apr 2006, Thomas Gleixner wrote:
>
> > > Currently this field isn't needed and as soon we have a need for it, we
> > > can add proper capability information.
> >
> > Is there a reason, why requirements which are known from existing
> > experience must be discarded to be reintroduced later ?
>
> Then please explain these requirements.
> This field shouldn't have been added in first place, I guess I managed to
> confuse John when I talked about handling of continuous vs. tick based
> clocks. Currently no user should even care about this, it's an
> implementation detail of the clock.

I don't think you confused me on this issue (although, I admit I'm prone
to confusion).

The is_continuous flag on the clocksource is used so other systems can
query if timekeeping is able to function without regular timer ticks.
This would be necessary for the HRT patchset, as well as the dynamic
tick patches, as they both reprograms the tick frequency, and need to
know if that will affect time.

I can reasonably drop this bit from the current patches, but it is very
small and and will be needed shortly, so I'm not sure its that big of a
deal.

thanks
-john

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/