Received: by 10.192.165.148 with SMTP id m20csp4363664imm; Tue, 24 Apr 2018 01:11:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/FZHp0bR5dZC+SqWAlokgbQNJlI2AmPri0xrR/Rpo6uCGARmhRH7ZA6PsSp7dUVU+JOpvJ X-Received: by 10.98.156.7 with SMTP id f7mr23068680pfe.104.1524557519473; Tue, 24 Apr 2018 01:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524557519; cv=none; d=google.com; s=arc-20160816; b=RZO8JQoWCTLh2ZAPszPgUNzlirpPfes7ZkHLK5urxQDKxPazWtyE5PxXRLKJcG3Y+c umZ/4RqIECfwy6YiwXt8BJCoNM3zLebi9Vpom97KoWE2J1mmHqw6T8M5BPz+vDD57eqx w1L1uufJIMHi3ir/AjbSBmcXoEEA86Hmet7ge1AV43gq8yMdtu2CnizQ0hEV0GaqWez0 Ef1WA60MQ5fRi+IEqaaKoTnbOnGuR5f0OsxcuczrQ5nBX/ndp852wxMn/096/6rsb8LX Qb4+X1chX4EgTJWT8BWFO9DedhlvUuFBUf2Ce7hS4ZmG9WZGhmmICHpFJhPJPPKRXWFM 8coQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=EcHN5VMUzzbAQqg52c78XqokxJw8ZQlS0fsfAuVYTso=; b=hTN3jQeIkkZTxzCLDFsKSaG2I5L5x3F/bvFjB/lSTRFbOnlX9bNSTR0VPFQysyPMlS 98h5VMYPbudWSnlEf+wzIgpK2QffFHP6yxsVmrjVW0pKsTDEk/Z1exYSNMvLV5UQ3vnt 93o/T3YAoozMV2t5KXnnoVc4K4b+4ONTbSYtSlB4aCPrcdZg7gK/RE9AHcBA85mxBw9b xMlfimwlrPZKsg9J0J4ZJu4EE5CViYoggO6GnVISveL0ATHI7KxUStDcV9JwLr8sQ344 UXGAMZaHQSloF60jM6L1HfNL2R9nbGT+/D05Gu8lqrwwksgkLzHv4OAJkjuOVPQGLi0d I/Xg== 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 m39-v6si13683013plg.570.2018.04.24.01.11.45; Tue, 24 Apr 2018 01:11:59 -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 S1756606AbeDXIJh (ORCPT + 99 others); Tue, 24 Apr 2018 04:09:37 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:34287 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756584AbeDXIJc (ORCPT ); Tue, 24 Apr 2018 04:09:32 -0400 Received: from p5492e61e.dip0.t-ipconnect.de ([84.146.230.30] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fAt0z-0000Zx-7G; Tue, 24 Apr 2018 10:09:29 +0200 Date: Tue, 24 Apr 2018 10:09:28 +0200 (CEST) From: Thomas Gleixner To: John Stultz cc: 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 In-Reply-To: Message-ID: References: <2580c734d38041e984215ccc522a4f2d@genki.is> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Apr 2018, John Stultz wrote: > 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. > > Yea, this is the sort of thing I was worried about. > > Thomas: I think reverting this change is needed. 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... I'll try to distangle it. Thanks, tglx