Received: by 10.192.165.148 with SMTP id m20csp437475imm; Wed, 25 Apr 2018 01:54:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/sFZqv+sRyAEojxZoXJGx5/E+V/oR4e3LXs9n7SF5tdBYGznnedBybJt9V1oSmSDJBrXPg X-Received: by 10.98.186.26 with SMTP id k26mr27418326pff.195.1524646455532; Wed, 25 Apr 2018 01:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524646455; cv=none; d=google.com; s=arc-20160816; b=cV14axKbw5ASClyFUhnoItJQjBOfRIkBwpcj/Q+5qWZM+JXWSuJODQPV1uxWuSmD5J GrZb6aXyrhigoOtUUdE18fewwGNuCUq6lTCyeEyhP5rae+pDmP2pENwV/iQA/CybL+oT I5t+auIfBfDcWofLlSh47yrI0goj1nzpBkCSAQ/V3haOMceZRsqNCIFwEz1DUhI/a4rV BLAzBXrE73EDdA9Z9fJraHvnC0O4skr2NtZ7dRaAggKy1gPW3qiliRPUZOCOZt78FrhW MjMryofl7Rp8aC/d7jRZKIaRal+p5mh2GQHfDPRpf0vutlDGf7CJZ7v7CltHxXZczrf7 tjuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2W/PATKxgWIFdwaSv4S4cTFhGwcDynZvvT579q78e+k=; b=lKFFXplytV+NxipgGWI5n68z9Btq9drY5jtpwIa588lEJ11nllaw3XKNZM896pkPJ3 r+XOtQHycNsoIdrWuCok1nToCccFPsZBe9aZA+iBO+8fMJs/xghhBcpGx5Zfatn+noB6 SfEbu+4XTTRWwavbUDEzsKaqvindCeu5d72F4RlrtzgzPDByNToOUjcRjo0Lvnl5qh9w v75hAIW62vi6jiC/vSLVlTgdxiRzrjRj57+L+FeRFTy+x+zHvJ+zAjVQL2cj+WQ0avj5 PrpwZAWcELZ8teD8pB1jWd7htqO/CSlv5DB7fY68ZEkAQmXLBex6YVSgrVPYOiipBCba m7hg== 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 f59-v6si14361692plb.106.2018.04.25.01.54.01; Wed, 25 Apr 2018 01:54:15 -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 S1751428AbeDYIwd (ORCPT + 99 others); Wed, 25 Apr 2018 04:52:33 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:65346 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbeDYIwa (ORCPT ); Wed, 25 Apr 2018 04:52:30 -0400 Received: from 79.184.255.18.ipv4.supernova.orange.pl (79.184.255.18) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id 2bb4c6596293ccd9; Wed, 25 Apr 2018 10:52:28 +0200 From: "Rafael J. Wysocki" To: Thomas Gleixner , John Stultz Cc: Genki Sky , David Herrmann , lkml , Sergey Senozhatsky , Linus Torvalds , Peter Zijlstra , Pavel Machek , linux-pm@vger.kernel.org Subject: Re: [RFC/RFT patch 0/7] timekeeping: Unify clock MONOTONIC and clock BOOTTIME Date: Wed, 25 Apr 2018 10:52:18 +0200 Message-ID: <1996930.B4PaKZ6i1F@aspire.rjw.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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 Tuesday, April 24, 2018 10:09:28 AM CEST Thomas Gleixner wrote: > 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... The "git revert -m 1 680014d6d1da" makes resume issues on my Aspire S5 go away (cf. https://marc.info/?l=linux-kernel&m=152460804018920&w=2). I'll try with just the "monotonic" vs "boottime" clock changes reverted. > I'll try to distangle it. Cool. Please let me know if you need any help.