Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1043330ybl; Wed, 14 Aug 2019 09:50:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdpcVIPo3vGgzl1qlDxJb9ZmNYY1K3h5fJHPQNEYRe+/UNdQ5IGuq0Y8SIASg2fPPcf35e X-Received: by 2002:a17:90a:981:: with SMTP id 1mr625615pjo.37.1565801407086; Wed, 14 Aug 2019 09:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565801407; cv=none; d=google.com; s=arc-20160816; b=c7V9otXK/qjP0jpb7pVkLoS+hUBaCK9DMLP5sUgdouTPYeS2nRO7e25szgpres4eOb Kes7xPg4Q7zbgg2wWMymmpua5J955J0c4HCSh5cPJbfa/H6Irx3II1mJPDzoWdeXhSJn GQT9a+U+w+NJnOgC3PdFtAdqA6hf+JXUVnUqPc4O0O8VrgKotQ1VaJyYzSk4V/R90sF3 8/0yD3aQ9nhcykayHK+nyB+bnUpURSkCdZOiwM2Ji8PLSHT/sWNWP3brpxXXXckJYkzs XV8lNplo4oHjUbJ8yjEG7EyS14jDg672QMVHaJloN7ZD6bwASLz9/PRaoFcLssNGdib+ NzBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=etksQiyq83kHLcBsVn7h/6r7t63sqJ6ZCqfbAq4s+jQ=; b=jj3j5QaYkcpK0GzySslGcSLMOYO6f/ye7H/hE06LICqHActkhIrvJcFQF7C86H8BvJ TcT+PZtzGdPbaY0Ef/7Z3mz59WkFZpNfPSDcRHyHt2S895ttBL0BFymO8tO3Ks4eqKkt dqfJ3sdDWs/Eh51hk+hiHCFku6a7aC87AGCvGZDjkWiUK9gchcCMjNikxyYuH+Kb+bAx WSKcCQOvXUGyMv/IIPWp1+tMDaDd5COtw97k8tUPdKM58bCfbVOqIzsX4nopTYrZRHCy TPLFBtVt1UGVZXbTzDQcYSFw61+VrNCJO4yr7r0Kf29DOoLOnnuPxg0wGlfGHyf5yfZ8 HnNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2019071901 header.b=afIXOvzQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b42si159932pjc.18.2019.08.14.09.49.50; Wed, 14 Aug 2019 09:50:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2019071901 header.b=afIXOvzQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728219AbfHNQsm (ORCPT + 99 others); Wed, 14 Aug 2019 12:48:42 -0400 Received: from terminus.zytor.com ([198.137.202.136]:52443 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbfHNQsl (ORCPT ); Wed, 14 Aug 2019 12:48:41 -0400 Received: from [IPv6:2601:646:8600:3281:2c7e:a77e:9d52:7c32] ([IPv6:2601:646:8600:3281:2c7e:a77e:9d52:7c32]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id x7EGllrZ1907212 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 14 Aug 2019 09:48:01 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com x7EGllrZ1907212 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019071901; t=1565801283; bh=etksQiyq83kHLcBsVn7h/6r7t63sqJ6ZCqfbAq4s+jQ=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=afIXOvzQgx2qnlUply+r6xDQ/x1UoaNoAc80t7FMe+ADbLOY7B8I85FxiGS41ewHv XmobnrMVZGAAOAA3+CPcfoYqjFCiyF12rgTiNgGTPXUzSphHqYR6CTpRqGWOIU3cd8 UURdgkI8mNPSrEfi+nZX3zyWtIQN54jdfFuhB815yqvTII0/8x1LHJr3II4E66gd2H roKmSp76TUtmYxRgrGhE00kpjNpi7nkr2LDk9hUoMrlZ1mu3JjPn8mh+vMdqRrUrMp MPIxtDTWgs8tbCZhQqpmOrRUxobIU3xJCQ51x3zAJFnEPq5/L/cvQ/aWq8h6BBoMtJ /DxyLVXZZju5g== Date: Wed, 14 Aug 2019 09:47:39 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <342565604d704b6ebaf2e9ec28d3e109@AcuMS.aculab.com> References: <20190814000622.GB20365@mit.edu> <342565604d704b6ebaf2e9ec28d3e109@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: RE: New kernel interface for sys_tz and timewarp? To: David Laight , "'Theodore Y. Ts'o'" , Linus Torvalds CC: Arnd Bergmann , Linux Kernel Mailing List , Thomas Gleixner , John Stultz , Alexandre Belloni , Stephen Boyd , Florian Weimer , Palmer Dabbelt , Alistair Francis , GNU C Library , Karel Zak , Lennart Poettering , OGAWA Hirofumi From: hpa@zytor.com Message-ID: <0089C4CC-DD85-48A1-869B-A9D71852BEC7@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On August 14, 2019 9:26:36 AM PDT, David Laight wrote: >From: Theodore Y=2E Ts'o >> Sent: 14 August 2019 01:06 >> On Tue, Aug 13, 2019 at 10:30:34AM -0700, Linus Torvalds wrote: >> > >> > I suspect the only actual _valid_ use in the kernel for a time zone >> > setting is likely for RTC clock setting, but even that isn't really >> > "global", as much as "per RTC"=2E >>=20 >> As I recall (and I may or may not have been original for the original >> sys_tz; it was many years ago, and my memories of 1992 are a bit >> fuzzy) the only reason why we added it was because x86 systems that >> were dual-booting with Windows had a RTC which ticked localtime, and >> originally, the system time was fetched from the RTC in early boot, >> and then when the timezone was set, the time would be warped so it >> would be correct=2E > >x86 systems are very likely to have the RTC set by the bios config=2E >In which case it will almost certainly get set to local time=2E >It is certainly the default for windows installs - I don't even know >if you have any other option=2E > >The 'real fun' (tm) happens when a dual boot system changes from >winter to summer time=2E >ISTR that it is quite easy to get both (or more) OS to change the >RTC by an hour (I went home an hour early one year)=2E >Although the x86 RTC chip has a bit defined for 'summertime', nothing >sets it (at least when I looked)=2E > > David > >- >Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, >MK1 1PT, UK >Registration No: 1397386 (Wales) I believe Windows 10 changed the default RTC to UTC, although perhaps only= if running under UEFI=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E