Received: by 10.213.65.68 with SMTP id h4csp2789133imn; Mon, 9 Apr 2018 09:03:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx49jWWLe/Ga2d+tIODJmxCJXNqcez0yxDlAf+pX1jXqr/7FWl6+1qD4AW7NLRX0BKu1++5QC X-Received: by 10.167.130.22 with SMTP id k22mr29868550pfi.73.1523289805148; Mon, 09 Apr 2018 09:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523289805; cv=none; d=google.com; s=arc-20160816; b=wbDv/xzkQ5Jg1riqTse/bOg1Kg3AHaa/ymb2tjdSZ4/8+buholPScDTuP3UN1sxq5N SB8QckAekOaPAQyb+bQgvdg1VWTwBB+WNtVIkyOu7zvh7FOyyYMo0Bo+42taR72y2ddL IJ1gthzjIIaXJjTlekqu5wANebBURvlBpF1hlVpuy5iHL9HmBIaEoGCC/7+ktyFDojGr cbsLhW7A+pjrOIDilqkfag3ZXOk7kMLBfOpcSvHsmcfokyqyqdOHz08HV0ITvAiObvCg J+gWJlhUcTazjYZs03rcdi4QJaocqN78WopbDLXVm+lyL8+5YgwAmThUlJ1A4BDpfVwZ OrjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=jIrM/LCUTGKzuQbXQTiJRNczlVN+Hbycb7t0CmthUM8=; b=tVKnIeMPjGiyl8dmTY/vR40ZF4NkwuWgHOSRevBLvh+UEosgUyaGUQ3uZz6QMJniHe gArMvUKN70H8V06P8nk1TjGnmvnecqb9Zg2Rc1o4+gguh4+G0nxrqnCxVygV3OlHCO2p yd1904NywqfvGHKNOjoN4UsrtsfCiyY1zdyi3CsgcVQ5m8cw4e+VPwOQ8tSZlAbBY9kV eTlvhVk7lxy5QS3c1kf2TAABCyWFgBG55IQt2sIhmgxA0Ncqdpfu9WZlUqtzY0oCb1wR NZFmSTc9UFcjrwidNI4KBfMFqWEuOnNOtNgxyKc30SmHwsn3J3VnlV3freH5IuUpAbhi XyXA== 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 f5si449613pfn.62.2018.04.09.09.02.47; Mon, 09 Apr 2018 09:03:24 -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 S1753087AbeDIP7g (ORCPT + 99 others); Mon, 9 Apr 2018 11:59:36 -0400 Received: from mailout6.zih.tu-dresden.de ([141.30.67.75]:44937 "EHLO mailout6.zih.tu-dresden.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751662AbeDIP7e (ORCPT ); Mon, 9 Apr 2018 11:59:34 -0400 Received: from [172.26.34.104] (helo=msx.tu-dresden.de) by mailout6.zih.tu-dresden.de with esmtps (TLSv1.2:AES256-SHA:256) (Exim 4.84_2) (envelope-from ) id 1f5ZCY-0003Ok-5x; Mon, 09 Apr 2018 17:59:26 +0200 Received: from [172.16.19.240] (172.16.19.240) by MSX-L104.msx.ad.zih.tu-dresden.de (172.26.34.104) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Mon, 9 Apr 2018 17:58:32 +0200 Subject: Re: [PATCH v9 00/10] sched/cpuidle: Idle loop rework To: "Rafael J. Wysocki" , Linux PM CC: Peter Zijlstra , Frederic Weisbecker , Thomas Gleixner , Paul McKenney , Doug Smythies , "Rik van Riel" , Aubrey Li , "Mike Galbraith" , LKML , "Len Brown" References: <1736751.LdhZHb50jq@aspire.rjw.lan> <1607755.Sz6cLBVOsW@aspire.rjw.lan> From: Thomas Ilsche Message-ID: Date: Mon, 9 Apr 2018 17:58:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1607755.Sz6cLBVOsW@aspire.rjw.lan> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020002070802070802040704" X-ClientProxiedBy: MSX-L104.msx.ad.zih.tu-dresden.de (172.26.34.104) To MSX-L104.msx.ad.zih.tu-dresden.de (172.26.34.104) X-PMWin-Version: 4.0.3, Antivirus-Engine: 3.70.2, Antivirus-Data: 5.49 X-TUD-Virus-Scanned: mailout6.zih.tu-dresden.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --------------ms020002070802070802040704 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2018-04-08 18:32, Rafael J. Wysocki wrote: > The v9 along with some cleanups suggested by Frederic on top of it and = with > ACKs from Peter (obtained on IRC) is now available from the pm-cpuidle = branch > in the linux-pm.git tree. >=20 > It has been added to my linux-next branch, so it probably will be picke= d up by > linux-next tomorrow and I have a plan to push it for v4.17 in the secon= d half > of the next week unless a major issue with it is found in the meantime.= Great to hear that. Thanks for all your work. I'm finishing up some analysis of corner cases, but nothing major. So I'm glad to see this is moving along. I've been nitpicking a lot, but this is clearly a huge improvement and there are practical limitations against a theoretically perfect solution. In any case the changes will also make future policy adaptions much easier. Thanks, Thomas --------------ms020002070802070802040704 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAA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