Received: by 10.213.65.68 with SMTP id h4csp1030566imn; Thu, 22 Mar 2018 13:48:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELvdeb9oZQAlM4XBGMSLI3FXVvOVH8mvZMYgDMnOdQi1rpMriibRBTkUDIPLa/PJ7E6U5gFj X-Received: by 10.99.106.68 with SMTP id f65mr18841690pgc.343.1521751691428; Thu, 22 Mar 2018 13:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521751691; cv=none; d=google.com; s=arc-20160816; b=TZ24vt8asHAtl0Nq63fefBO5YkRHY5vz0PKptlbkbPozJoV6eQjyB6gxVFgshD4w4O 3MzlkAxbtPt5rIn9hvDsxMO74zgDRV28KjfL1wu7yANecrvQ+/yWPUeCYEnzhnGfmPBX wEljB+SXEYvEtWX2Zyn7xgPD0N96EKnyTJN0w4pZ7k3bYeczOjzTXOF3UsU3RFkasn9B Yl2m6r9XZHwpNuadwj8ZOopdKbt7QSz809cUhASejLNQZBSinefdXEPtNHEpseWyOMbD kLTjJm5vtUQ1OjrBQuNCtUkIV+l5KkFivJEyI/VUMnJ5DZ1lsavBQtAp9bnLvXnKynWg 1wJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:content-language :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature :arc-authentication-results; bh=h15Z7xIf8OZ+d2Ofl5cEUlNDRS/5PU1oYl4dF/PQ5/Y=; b=RKB1GM0XWppfGkRTQ6cZdOKT7UJ2RQ356JU218buO/Y5jvdJQcf0OVtowUqopWj4MP ZMVxVOr3DK6Clbx49DxB4KMtYd9jGGRqoKtrofKj/qh3XNGAbDhUhm6gOBaPnvEUKCOo TD6fbukQ2DHdsilq0dFOX8lkkoJi+1NwQMrMIha0vRj2zFi+JLAQi6c0D8TNRZIaHfF8 hP8c1oWJM6oP4HCtA4PdIjZKU4MOF7Iy9cdEaMnznClrqkQUlOO1JgLEqeuFkM8pzZH5 7NT8nwRReZXg0GplxrOg969x0TkNKt0+YpQD+f2CD8YVIKKLr6gYMZExZy+rhN1dN85Y L1GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=lATNHtQf; 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=telus.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2si5415634pfd.201.2018.03.22.13.47.55; Thu, 22 Mar 2018 13:48:11 -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 (test mode) header.i=@telus.net header.s=neo header.b=lATNHtQf; 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=telus.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751758AbeCVUq4 (ORCPT + 99 others); Thu, 22 Mar 2018 16:46:56 -0400 Received: from cmta18.telus.net ([209.171.16.91]:57337 "EHLO cmta18.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656AbeCVUqy (ORCPT ); Thu, 22 Mar 2018 16:46:54 -0400 Received: from dougxps ([173.180.45.4]) by cmsmtp with SMTP id z76oeTyEOicTMz76peJdOb; Thu, 22 Mar 2018 14:46:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1521751614; bh=h15Z7xIf8OZ+d2Ofl5cEUlNDRS/5PU1oYl4dF/PQ5/Y=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=lATNHtQfK2QN2UdAeznaH9nCTsNBSdlM1clnaSwlOceYCziUbHca/NZrUyPRbqUkm wfH4luouQ9o9cZOEtlO8SpopllmFRPOwuGvUzokVkmbzrJBZobkE5kcUUeN9BLX9Wy keKJuNTfTURln6XgSU1EUnPi5LAUk3Hns54RTxPDXkExUbaloTrWnfCSPshKfPChqQ 9GCAk1Uftl2NJgEiCNRbMwviiI2BkY6GAa59jMJDhEnC4Y7KNOgCKXp7iTEl8a38wK JaeN/VwjaUURNo5o5L98QmL0stEtXRopaTzrayY1+yVojd76AYbl0meFA+7KRnWjDQ G433ETGjHROJg== X-Authority-Analysis: v=2.2 cv=ebrSR/MH c=1 sm=1 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=kj9zAlcOel0A:10 a=VwQbUJbxAAAA:8 a=UQ8mlwBPq_CX1FJq91kA:9 a=CjuIK1q_8ugA:10 a=AjGcO6oz07-iQ99wixmX:22 From: "Doug Smythies" To: "'Rafael J. Wysocki'" Cc: "'Frederic Weisbecker'" , "'Thomas Gleixner'" , "'Paul McKenney'" , "'Thomas Ilsche'" , "'Rik van Riel'" , "'Aubrey Li'" , "'Mike Galbraith'" , "'LKML'" , "'Linux PM'" , "'Peter Zijlstra'" References: <2390019.oHdSGtR3EE@aspire.rjw.lan> <1635957.yuHkCe9oyz@aspire.rjw.lan> z4Bte42s61Konz4ByelYCQ In-Reply-To: z4Bte42s61Konz4ByelYCQ Subject: RE: [RFT][PATCH v7.3 5/8] cpuidle: Return nohz hint from cpuidle_select() Date: Thu, 22 Mar 2018 13:46:49 -0700 Message-ID: <004001d3c21e$e867a3b0$b936eb10$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-ca Thread-Index: AdPCBM5CitelSSkKQxC1UE+Xq/NUEwAGGCYQ X-CMAE-Envelope: MS4wfPM0ouOquZiLd6heONyjnrvqUYc2+XtVhgeq3Ri/S+9+N28SJJPjtJZgJ6we9vpKdOjA1Vl8pU1vYHIbvt7AasK73cDRg4PJ7Vxnu7FOBGjQWV8AxeNt ZcODmbAwcEEHg4gh7bJleInOh8Onh7PcDV3nXRtRy6ajiVrOhN0z8IZmly9dGzLj5ZWK5yjPo9ojyQqvvvuLEfUgOsH0yPBJGQP+HM4UmPxSwAeRjLhrlDjV QtDWUWkuRWLXaTsP1a45e4PppzONdpgbgEv+nbiDiYvVFXLX6LkX2N49hbWsFU8Tbk+k3/8UU/K1pri5EcolneIswrBWkRWRgoKxOs5dOY9so96hyfc0Stie Wap1b93Y04AKYyz2o17h2D0C3YjGk7WurA+PQhNzXUyqJO4UIaWUXCycffYVfOefWWm/3EBumOfdlwObV8locpDAIMdvZg3ywiZIuq5zCt0K39+Ro+zZ5BTB VTWXiEmjSDSFuso5xXqwzaDwdKEm0rFprV2vXg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018.03.22 10:40 Rafael J. Wysocki wrote: ...[snip]... >The difference between this and the original v7 (of patch [5/8]) is > what happens in menu_update(). This time next_timer_us is checked > properly and if that is above the tick boundary and a tick wakeup occurs, > the function simply sets mesured_us to a large constant and uses that to > update both the correction factor and data->intervals[] (the particular > value used in this patch was found through a bit of experimentation). > > Let's see how this works for Thomas and Doug. System idle test done for 74 minutes. After boot and after the system settles down for a couple of minutes, Processor package power is constant at 3.7 Watts. (great) Not worth a new graph to show a flat line. V7.3 average package power = 3.68 Watts. V7 average package power = 3.68 Watts V7.2+ average package power = 4.06 Watts (+10%) > For easier testing there is a git branch containing this patch (and the > rest of the series) at: > > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ > idle-loop-v7.3 Thanks. I used this git branch this time and for the first time. Much easier. ... Doug