From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C06E7C3A5A0 for ; Mon, 19 Aug 2019 13:43:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C6832087B for ; Mon, 19 Aug 2019 13:43:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727752AbfHSNnK (ORCPT ); Mon, 19 Aug 2019 09:43:10 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:47283 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727332AbfHSNnK (ORCPT ); Mon, 19 Aug 2019 09:43:10 -0400 Received: from [5.158.153.52] (helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hzhw7-0004kQ-JD; Mon, 19 Aug 2019 15:43:03 +0200 Date: Mon, 19 Aug 2019 15:43:03 +0200 (CEST) From: Thomas Gleixner To: Karel Zak cc: Alexandre Belloni , Lennart Poettering , Arnd Bergmann , "Theodore Y. Ts'o" , Linus Torvalds , Linux Kernel Mailing List , John Stultz , Stephen Boyd , Florian Weimer , "H. Peter Anvin" , Palmer Dabbelt , Alistair Francis , GNU C Library , OGAWA Hirofumi Subject: Re: New kernel interface for sys_tz and timewarp? In-Reply-To: <20190819110903.if3dzhvfnlqutn6s@ws.net.home> Message-ID: References: <20190814000622.GB20365@mit.edu> <20190814090936.GB10516@gardel-login> <20190814093208.GG3600@piout.net> <20190819110903.if3dzhvfnlqutn6s@ws.net.home> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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")