Received: by 10.192.165.148 with SMTP id m20csp4136289imm; Mon, 23 Apr 2018 20:05:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx48pwLxpIOPnX2D6KheBLHslWABRY1+0NbJ/UnXXaapAyN9AhFkcv+M08jLctEYnR0yBDhK0 X-Received: by 10.101.82.68 with SMTP id q4mr10918446pgp.201.1524539116787; Mon, 23 Apr 2018 20:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524539116; cv=none; d=google.com; s=arc-20160816; b=s+ZlQRu4NNFgpDkhY/kvVoZd+i2bbBSNmC4eOqJPsfts905XdpsKGCFNHWuWwZYLn/ vaWAdWSixm8nl4byMtqWRIhizl/j8py8cupGCtPNLCTzVqqOLELyktvp9JdMhA58QhOr tkNNf731NYiiea+UAzOspJBJyhBKuTTI034QLMQ/QmXq1++6SPZyzmrzWMgsM2lT3WXM S0ovipxMYR5H4umsuC6QslV6ggwSlQcxU0PEXZ8qYjckhN2s+MvNwGPKGgic1QfRfo1i nC6iOM5U2wetQ/Vj2ccKw3qPXkh4+xfJI7pZ38zzfv6XlWor2DXOE/ueoVY1TAwF2LHT Q2qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=oTXXuc01fr3NIzMmdIRRetZ2IdHvHRd+YbKGWvIRRJg=; b=G/0J7rE8fP4MKLbwIoM5MnoGZGFaAx00zfD9X65oX2z+IAMHRbZ97bqXdzJ7ebdZic Jzrv9ZZj307aEhkvQmL3CBgvWGUhJePZreNqORg9iW/scQu09WNIGHROe8dLWn52Q93z YeJaOPAHCTuTy4bv/RrLRHptXUct0ux2MCOLk3hcffHDZ6+XLBTvryLTwOlTBW+afQgY 9noOaY766h7rSv1eTXQctMMe0Fr003cZXiaNZ7RyteWnl2W3ymi+QucPKbRX6vlwHgtm Pu22o7+limSrwwltn6pE5kPJMXmIeIK+1O752kV2IKvaUu3Hh8yF8hcU7W6mABM4X27n xQnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e0J/8VLF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si12746461plb.355.2018.04.23.20.05.02; Mon, 23 Apr 2018 20:05:16 -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=pass header.i=@linaro.org header.s=google header.b=e0J/8VLF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932854AbeDXDDs (ORCPT + 99 others); Mon, 23 Apr 2018 23:03:48 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:43916 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932759AbeDXDDq (ORCPT ); Mon, 23 Apr 2018 23:03:46 -0400 Received: by mail-wr0-f193.google.com with SMTP id v15-v6so28306807wrm.10 for ; Mon, 23 Apr 2018 20:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oTXXuc01fr3NIzMmdIRRetZ2IdHvHRd+YbKGWvIRRJg=; b=e0J/8VLFah280akeZJHmDISFYKhCfYX8a4TXTqgUgXCsOkH/IEXmLMZ2NIhy2F9gVe E4Q4grGqzNUcXGTscJTmuaMHMjmCqr8g70rE+oYkFfFiYJowyfr6KIHPjfP/iCjlL3oD ua96befrQvEYhjkm6PVUH8esFVRTbADWHAcRk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oTXXuc01fr3NIzMmdIRRetZ2IdHvHRd+YbKGWvIRRJg=; b=kQ2QpMA8/Fejct+ES6rzXD1ZCb5MypfHVBylpn1f/O7P49kSeTycxjgQhViKsvC5c1 dKRsXOxCwqWe4y7v458I/m447k/L70D/+g35cgnVtY/i8f81EfihRu0/2lOAb5I9xzl3 84wPHShRBEN5n2g8D/3FGycVksddMkt1wk3tirf3+SwAfcNH/4/FW8Pfxiyx9/dvZVw7 JQnYCpfsIj89U9bu2OS703QW8i65tcsgh0IEbMzivaKjkYAmvzC3q4uk3Vz8B5JEIgsv f+f7Yh4xgIstobs60MWVqkg24y3LrsC8mAm38kKeG9iH0laLuo0iEaDfOzB10VyXZLxF UPDA== X-Gm-Message-State: ALQs6tA9DmecQByyNlB+TxQXORyU3CzP3H9mvZmddgdzMbULjTKwLaRC JAHqc4q5GpvlqdsOptDCzdaG/63nMQzEsBs4a+E0Yg== X-Received: by 10.28.156.2 with SMTP id f2mr10880766wme.64.1524539025535; Mon, 23 Apr 2018 20:03:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.22.14 with HTTP; Mon, 23 Apr 2018 20:03:44 -0700 (PDT) In-Reply-To: References: <2580c734d38041e984215ccc522a4f2d@genki.is> From: John Stultz Date: Mon, 23 Apr 2018 20:03:44 -0700 Message-ID: Subject: Re: [RFC/RFT patch 0/7] timekeeping: Unify clock MONOTONIC and clock BOOTTIME To: Genki Sky Cc: David Herrmann , lkml , Sergey Senozhatsky , Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. thanks -john