Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2130384imu; Thu, 10 Jan 2019 08:46:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN6WsEyWwmGxkhwipSlctTsOGfViiXz7NbPhrU6SMNmqwLcw4D4AL1eMcoj5/TQM5kLtJwa2 X-Received: by 2002:a62:1a44:: with SMTP id a65mr11097789pfa.30.1547138812007; Thu, 10 Jan 2019 08:46:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547138811; cv=none; d=google.com; s=arc-20160816; b=Jbh29g41T+/9GCsklCzWDDvPShsTcd1opxO4YZboEc1HcWPALCNtnX+Rp0QVliHR+p 8WZFWzaWXt0YGUBXCZEuLKcY5g25AJch1M7sl3hy2m/AUQE2DzIs0DoQhF3WAuYH6qYg EUVAvuktTaLoippfsFutweSw2gMuFb2Bn66+L7EPzP8ejLiXkrtcjWlBlfGhVPF0NGGR dLndWG8W5Oe14l9VdLmRA8XEQYhhteNvjrVt1nm6PH6Ilpyd+2TCuMQt6rFeu55deMaF vXv8SsQoMGkf3oPzxRKUone/3jvFhFWLWUQ+O43zOOzdfGoNjp1EYf01ticin+GXMzVY lIpg== 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; bh=WJ0TLDPf4KLg9yOd3LrI+rCzoy7ujB7RwbFO+f3pSa8=; b=ybuCtz6+hhcmowk05RMyRDTqdn4JuY9Z3FKV9NL0Cs8zBN/vdNvuMaaf09SNHcj7KT al3Km+GK/Oi+Y7VHiixejyq0esdBqEzCpGN1mP2FhWlUT8Gx0MBg/z1cu1v3fGzkFPqt bG83RWGXQe4iIvoXq8gJOwTi9sOIFiY913mIezQanEtS9GcdFn9opgKBpjKbCi2eVzBt xh4tBKXnuXk3iHzAmJX/+OjDpHHMAyGpbB3BD+uDeAnGyVY81b619E+BrdrB2LSi3ovi wrFwCkmNpl2z5pZBIi+eiOidExGVPwOGodk9MHNL513U2ij/58iabwlLt7sXopWDxWnD MX3A== 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 u4si4036150pls.34.2019.01.10.08.46.37; Thu, 10 Jan 2019 08:46:51 -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 S1728678AbfAJQo6 (ORCPT + 99 others); Thu, 10 Jan 2019 11:44:58 -0500 Received: from muru.com ([72.249.23.125]:33122 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728178AbfAJQo5 (ORCPT ); Thu, 10 Jan 2019 11:44:57 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 696C780E7; Thu, 10 Jan 2019 16:45:03 +0000 (UTC) Date: Thu, 10 Jan 2019 08:44:54 -0800 From: Tony Lindgren To: Ladislav Michl Cc: "Rafael J. Wysocki" , Linux PM , Linux Kernel Mailing List , Linux ARM , Linux OMAP Mailing List , "Rafael J. Wysocki" , Ulf Hansson , Vincent Guittot Subject: Re: [PATCH] PM/runtime: Do not needlessly call ktime_get Message-ID: <20190110164454.GB5544@atomide.com> References: <20190110095125.GA4491@lenoch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190110095125.GA4491@lenoch> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ladislav Michl [190110 09:51]: > 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. Acked-by: Tony Lindgren