Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1063802imu; Wed, 16 Jan 2019 12:06:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Z0CurUl+c8SialzKT1mzo5lKKQPvxQ+xAzui30P0ryAgXNgxHKyOh3GvefZl+/xD/brcj X-Received: by 2002:a17:902:7848:: with SMTP id e8mr11891184pln.100.1547669192794; Wed, 16 Jan 2019 12:06:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547669192; cv=none; d=google.com; s=arc-20160816; b=CD5ECmbWzVKlO0dvENw0hRJT+yPSoTQBEQF5/4k21+s+AIPux/Wo6G09/qxjnwrVCD N14fDPqtpmvaNCLBkVcfkuV6GIc69I0tws9z8fuS7g+SDfNypJsy2XidGNFq8MPqMxGd dg294w2N1nUIUjYyIJzdND+Rc9wp74SKABwBhxaDTAm+Bh4RakeJf8RmsSnKfosdK+w9 Mb70JA8Sw2iW1pOgPmPZcGFfNWyIf6RoB0ilshSWY6kxkf5hR9jClzm3ZsldIXgf8Tr2 vRtgKLduILfrsVmC3XoBu7PzHDpZKozrwqNmHn69wWh6zgC1FOv++Tf5UEBMv9dAqcvO hCvw== 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; bh=y9wih/o/8txva08rgNWOA+kGa06H8tT1eGbOuDOWVZY=; b=BBR90HA/rOhz1PVBgpOYeiWVkCpXD/tppmOogUp/VPeBRsF9WXmd7Hzopl3o6mpzx8 tGObhryet0gfR/grUEmk3GeJ8+cPG87D7YoVa0fHDWm3z5j2zkUDbzUr4PUcY7XgjyAx P4lILen510U2H3xypo8s/L4MSBHd61wmVDJBZChjXUE/lIGlBkS5tsKDdEQJHLdm+Hve cpBgZIGbjOMeEHkqkoikE6SwgdT7D6tHtOBLKRX8kE4CSKAGgM5tBxd4QRCX81RzPuiG 6f2Sose7GrxHF2uB2AEs3VOwM53KQBNi0m1KsHApqX7rg3DfbArY+kiqgfKEGqf0Wxw3 YyiA== 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 e7si42647pgv.499.2019.01.16.12.06.13; Wed, 16 Jan 2019 12:06:32 -0800 (PST) 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 S2404204AbfAPL6K (ORCPT + 99 others); Wed, 16 Jan 2019 06:58:10 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:57209 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392751AbfAPL6H (ORCPT ); Wed, 16 Jan 2019 06:58:07 -0500 Received: from 79.184.255.239.ipv4.supernova.orange.pl (79.184.255.239) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.183) id 0352eca9a8065bb1; Wed, 16 Jan 2019 12:58:05 +0100 From: "Rafael J. Wysocki" To: Vincent Guittot , Ladislav Michl Cc: "Rafael J. Wysocki" , Linux PM , Linux Kernel Mailing List , Linux ARM , Linux OMAP Mailing List , Ulf Hansson , Tony Lindgren Subject: Re: [PATCH] PM/runtime: Do not needlessly call ktime_get Date: Wed, 16 Jan 2019 12:57:13 +0100 Message-ID: <10417091.Yigb8Rxq05@aspire.rjw.lan> In-Reply-To: References: <20190110095125.GA4491@lenoch> 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 Thursday, January 10, 2019 7:56:19 PM CET Vincent Guittot wrote: > On Thu, 10 Jan 2019 at 10:51, Ladislav Michl wrote: > > > > pm_runtime_autosuspend_expiration calls ktime_get even when > > its returned value may be unused. Therefore get current time > > later and remove gotos while there. > > > > Signed-off-by: Ladislav Michl > > Acked-by: Vincent Guittot Patch applied, thanks!