Received: by 10.192.165.148 with SMTP id m20csp342007imm; Tue, 24 Apr 2018 23:51:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/UtbVfsv2r16TDKmBGUWvrO9F/IxWCXqwUwI2j5jjrkiWRtBf2F6FGXbBR33WLh8Ku9peo X-Received: by 10.99.158.2 with SMTP id s2mr23185601pgd.48.1524639101496; Tue, 24 Apr 2018 23:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524639101; cv=none; d=google.com; s=arc-20160816; b=Rhx4sjewYLqxLrIGTpwHyyZ/vo4izGxYgwxWgxAULGRtx2lbW7A+XQHLhob/c3LzLu x0rNDKNOMB6IDia7Xd6neoXv8uRXdt6fx45kq/jXxrex3O1qDWxXToRPtEmH/o/pa6Ki CLBAxTb2kR18GS90/608XWpeabK8RYZNOg5yKBdKUYzqdN2Es9xAERsy4MKTL1wTb7ri R045UWpn+4+wUEpmHoKsrgtVfU9WKGuT7cdvhmu2JIzBrRRuSLVTqZKHF3bABlLd4at/ qkGJkDkhxy/wqN9sTyTovkot48TyPCFbVmfPdNWfzfNiJjaFZJGYbGGM5rlCwKKc8waq Vqpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Pv8AAnkn6yRBbeCWKrhR553jpxKowJ5rvSK+veFoxWQ=; b=IP/jO3NSNqt/rrKULA6jyVYw1k/zwWH+n1jaLPiQjbrZ8ghAaMZy5VNDnxSiGX5DoK /IUJwTLIuCy8jX3sOaMPp3u/W2cINiKAObmpWqPQmiHqkanh8UuoW2p2vEewneAmkc1E j7sI/7ncJ+D6i/EMDBfHVDhO+5tXE1sMwICVRqCUFqBZtxCqjoyBF1VHL9H94widPNqz zzabwlp7FkseVtqEStKOKyGfnqtiICwmPljwjLviCn8noGKXd2+BVmshqCFQrQ74J5Tz cEbRCi7vNQf/tOq7PbaMUCwOUia1rIvEBTXuv0hL6nFPPbJXDdgd0gcCSvu4rBGUJrdb 6Svw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6-v6si15924964plo.534.2018.04.24.23.51.27; Tue, 24 Apr 2018 23:51:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751360AbeDYGuS (ORCPT + 99 others); Wed, 25 Apr 2018 02:50:18 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:43747 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968AbeDYGuR (ORCPT ); Wed, 25 Apr 2018 02:50:17 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 783438026C; Wed, 25 Apr 2018 08:50:16 +0200 (CEST) Date: Wed, 25 Apr 2018 08:50:15 +0200 From: Pavel Machek To: Thomas Gleixner , "Rafael J. Wysocki" Cc: John Stultz , Genki Sky , David Herrmann , lkml , Sergey Senozhatsky , Linus Torvalds , Peter Zijlstra Subject: Re: [RFC/RFT patch 0/7] timekeeping: Unify clock MONOTONIC and clock BOOTTIME Message-ID: <20180425065015.GA6222@amd> References: <2580c734d38041e984215ccc522a4f2d@genki.is> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2018-04-24 10:09:28, Thomas Gleixner wrote: > On Mon, 23 Apr 2018, John Stultz wrote: >=20 > > On Mon, Apr 23, 2018 at 7:45 PM, Genki Sky wrote: > > > Quoting Genki Sky (2018/04/23 20:40:36 -0400) > > >> I came across this thread for same reason as [0]: Daemons getting > > >> killed by systemd on resume (after >WatchdogSec seconds of > > >> suspending). I'm using master branch of systemd and the kernel. As > > >> mentioned, systemd uses CLOCK_MONOTONIC, originally expecting it to > > >> not include suspend time. > > >> > > >> Correct me if I'm mistaken, but I don't see the ambiguity of whether > > >> this patch series breaks systemd. If it's implemented correctly, you= 'd > > >> hope it *would* break it! > > > > > > This sounded a little weak on re-reading, sorry. So, I just confirmed > > > that after booting a "git revert -m 1 680014d6d1da", the issue no > > > longer appears. (I.e., a suspend for >WatchDog sec doesn't result in > > > any daemon getting killed). > > > > > > Let me know if I can help in any way. > >=20 > > Yea, this is the sort of thing I was worried about. > >=20 > > Thomas: I think reverting this change is needed. >=20 > Sigh. I hoped that something like this would be catched before I sent the > pull request by those who were actually interested in this change... Well, we had two regressions in -next this cycle... I reported both but bisections were not easy and noone was really interested. See Re: linux-next on x60: network manager often complains "network is disabled" after resume Subject: Re: CLOCK_MONOTONIC, BOOTTIME, suspend and screensaver regression Can we expect this to be sorted out in v4.17-rc3? -next? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlrgJScACgkQMOfwapXb+vLpGwCgofFUkDRMyDGfF7w5c7uxIXZF jZcAnAh6vVsPyUjvCL5xFcqTAwRbLHRL =+YUM -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--