Re: 11 minute RTC update (was Re: Remove RTC UIP)

From: Matt Mackall
Date: Tue Mar 28 2006 - 20:20:19 EST


On Wed, Mar 29, 2006 at 03:11:02AM +0200, Alessandro Zummo wrote:
> On Tue, 28 Mar 2006 18:03:45 -0600
> Matt Mackall <mpm@xxxxxxxxxxx> wrote:
>
> > > > > While we are on the topic, I would like to ask everyone about
> > > > > the 11 min ntp/rtc update feature of the kernel.
> > > > >
> > > > > It is something that makes sense to move to
> > > > > userland?
> > > >
> > > > YES !!! :)
> > >
> > > great! given that it is not implemented in the new RTC subsystem
> > > and nobody objected, I will not add it :)
> >
> > I agree that this should be migrated to userspace, but I'm more
> > worried about the functionality impact here than for the UIP case.
> >
> > With existing NTP setups, and the kernel no longer writing to the RTC,
> > you might have the RTC drift far enough that NTP failed to sync on the
> > next boot. (Correct me if I'm wrong, of course.)
>
> That's probably true, I'm not expert on the matter. The new subsystem only
> covers platforms that were not covered before (i.e. without external patches),
> so that this should not impact users because the NTP update mode
> was not working on them.
>
> The problem might arise when other RTC drivers (i.e. x86) will be converted
> and deployed.
>
> We need a migration plan. Any suggestion?

I guess the question then becomes: is existing userspace (ntpd)
already doing its own updates. If so, we can schedule the feature for
removal in the near future. If not, it may take quite a bit longer.

--
Mathematics is the supreme nostalgia of our time.
-
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/