Re: New kernel interface for sys_tz and timewarp?

Thomas Gleixner
2019-08-19T13:49:30Z

On Mon, 19 Aug 2019, Thomas Gleixner wrote:
> On Mon, 19 Aug 2019, Karel Zak wrote:
> > On Wed, Aug 14, 2019 at 11:32:08AM +0200, Alexandre Belloni wrote:
> > > On 14/08/2019 11:09:36+0200, Lennart Poettering wrote:
> > > > On Mi, 14.08.19 10:31, Arnd Bergmann (arnd@arndb.de) wrote:
> > > >
> > > > > - glibc stops passing the caller timezone argument to the kernel
> > > > > - the distro kernel disables CONFIG_RTC_HCTOSYS,
> > > > > CONFIG_RTC_SYSTOHC and CONFIG_GENERIC_CMOS_UPDATE
> > > >
> > > > What's the benefit of letting userspace do this? It sounds a lot more
> > > > fragile to leave this syncing to userspace if the kernel can do this
> > > > trivially on its own.
> >
> > Good point, why CONFIG_RTC_SYSTOHC has been added to the kernel?
>
> 023f333a99ce ("NTP: Add a CONFIG_RTC_SYSTOHC configuration")

Just for the record. Not a single defconfig enables, but it's selected by
SPARC for whatever reason.

Thanks,

tglx