Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3002552imm; Fri, 24 Aug 2018 08:54:22 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda+1dW0AOrsC+GYRAZ+2wLY6A9uj5FIpCIiLmUlDL0Ce9bzML1Ld7waOlxKDjcTnQf+Dmjl X-Received: by 2002:a17:902:1001:: with SMTP id b1-v6mr2247534pla.155.1535126062230; Fri, 24 Aug 2018 08:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535126062; cv=none; d=google.com; s=arc-20160816; b=f79bD61iRXgNgbmFJ3NuoImIRaqTE5mooKpp55ZM3hrFbD18hu+Qj6btJ+lRHWRaT6 Lt1lDNMAg2aMI5yDFHDYZgv8mttlj5iIeKBmVlQsWoqLL4JHkob697FnnfadXwMwF8Ha IW9rGsBHMMyx/VTQaO23APFAUE0FLlWy02M+Fp+ptDs5Dgxuwbo7XRlmvuY26xzDQTrD sm1cBzmySi750GC+5HbPLjsJQdX9h2MkXQkPEqcwkCdJXXc3nC/j6o9n3bhCPGeUeC8O vjxA/GW3q5mGwp5/h8f6JJ1o+hey5p+h78pIPOJKF2uziBDjCXv+2fpjq7iRWoIEI5vW qa7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature :arc-authentication-results; bh=kHwnEMB2JFA7XmA39PsoVK+QqTOFudP/zv5mvW3OgW0=; b=t6xuD94Jr2aSkB99totCxnozSBpoSP77u15XgpOpgKp6wswSnv4ZuN0+vuWeYQjxgv ngSxWSo6UN93B9vQYFfn8bKggNaTvZhZZkuu4IIDTy24Kh3xeHl3YQt/HOU9KOeQJ1Bl ZJVnV0VQ5dXuUvZHADT7IRf4rK80BwS8+2d1lsrEnDDy03kc2ZD90yMiFJDSz3H47zh8 DZEO13scdKPp5iYecS6BPhnOPtVyAdBK3gcQ/4h88qs40wQzc1mlpmFXPfeM3MNzc7GK A/BN5rIZC8j4VWGLKarHLz6zWzn5UhFAcDtg0vLv/A7ZrTX3dqg2DWm3hnt41kYdVTBG LFoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=nNZr4Ujd; 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 x6-v6si6736084plv.315.2018.08.24.08.54.07; Fri, 24 Aug 2018 08:54:22 -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=nNZr4Ujd; 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 S1728006AbeHXT2C (ORCPT + 99 others); Fri, 24 Aug 2018 15:28:02 -0400 Received: from cmta19.telus.net ([209.171.16.92]:43233 "EHLO cmta19.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727592AbeHXT2B (ORCPT ); Fri, 24 Aug 2018 15:28:01 -0400 X-Greylist: delayed 489 seconds by postgrey-1.27 at vger.kernel.org; Fri, 24 Aug 2018 15:28:00 EDT Received: from dougxps ([173.180.45.4]) by cmsmtp with SMTP id tEGKfqAmEwgrmtEGMfSN5M; Fri, 24 Aug 2018 09:44:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1535125480; bh=kHwnEMB2JFA7XmA39PsoVK+QqTOFudP/zv5mvW3OgW0=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=nNZr4Ujd5VUXDvlGoHqF+Fl3Bno4sVM8J2VTvI5kuF/PAA+niX34+WAyuzesaVe9O 9kkYdP5U3bFjx+nebzCjZUkoBMrifdDvS0MXD3/F7ZJZgagn2rEKon7fOHP0dBzLPv DvO8bbIcZL31s4vx9rayXiJvQvlwuhQ5rxWm0hQYGs9QzjYUkVaX4aa2kU1I7kM4Sx YyWupFCwKeZ4B+hWBh130+hCDJ/pinPh18lrL0Al4mn63Bl+AbaX6ZpoY8MAtsiDkE g3LEnDzKEIbqyslJCh6GRBXBodvPjEdMQJhWc6VVQdCYqfdn0bvjP9tGhSQWp+CHQw /BQMETZkEyhJw== X-Authority-Analysis: v=2.3 cv=D4zz1cZj c=1 sm=1 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=kj9zAlcOel0A:10 a=O76VCmqbo-wA:10 a=QyXUC8HyAAAA:8 a=gGYOLuhWAgdjI3FwMKYA:9 a=CjuIK1q_8ugA:10 a=IeVV3oy9AQTmNaZTXIJc:22 a=HH7FIXwXL_sUf1zzYxQd:22 From: "Doug Smythies" To: "'Rafael J. Wysocki'" Cc: "'LKML'" , "'Leo Yan'" , "'Daniel Lezcano'" , "'Frederic Weisbecker'" , "'Linux PM'" , "'Peter Zijlstra'" , "Doug Smythies" References: <34910476.pgRhNDWo5t@aspire.rjw.lan> t8fgfrW4IttF2t8fhf7XeN In-Reply-To: t8fgfrW4IttF2t8fhf7XeN Subject: RE: [PATCH] cpuidle: menu: Retain tick when shallow state is selected Date: Fri, 24 Aug 2018 08:44:35 -0700 Message-ID: <000701d43bc1$5e0c2c50$1a2484f0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdQ7j1MIbCuLKpY8QPiv9wfWSVHCMgAL1+AQ Content-Language: en-ca X-CMAE-Envelope: MS4wfPQ8OuOPzraUliJ+JZ6/vU6+mt+BJLLRmSlvg5YDO/s4YxCVPmh7UsvKFQWtxkSUcJ+ooxsdPHTiqP//zmuEKURHc7JtriUUxeNqgZF0SuuQiAK9qxyq zMHKNVvMAy+2QTJ4oPrSi8FKw0HutDQSK1u5qKwckvRPfIy3+rugBvVQ4Snhby0JLER8+GsWVFgQ5SWUeBkTXPnMVobwzHmnl0WENdEq7MYgvTQJqKYrZRCc O5l2qo7nLpl+O4Kq2Kc/NtNNhSLZLWbBx8DYV1FWEG3OHHNXfDvTmzQ2s/ptLzKGtIfL959kTmiNv9hlQkKld6EAv3PAI5mjewKAJUl4hhdfQjP8Mi8Ai/14 DV5q45xeEbY9+vJRROHud5KbNZHgQFDBf+jFvwmx21oVUtLL8Fc= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018.08.24 02:44 Rafael J. Wysocki wrote: > On Tuesday, August 21, 2018 10:44:10 AM CEST Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> The case addressed by commit 5ef499cd571c (cpuidle: menu: Handle >> stopped tick more aggressively) in the stopped tick case is present >> when the tick has not been stopped yet too. ... [snip] ... >> Fixes: 87c9fe6ee495 (cpuidle: menu: Avoid selecting shallow states with stopped tick) ... [snip] ... > Due to the lack of objections, I'm inclined to queue this up. I have been following these threads. Recall that I was involved, over a period of months, in the original "powernightmare" stuff. I have revived my tests (and wish I had left myself better notes), and am establishing a baseline before adding and trying this patch. My baseline is actually two tests with and without the previous two patches (the ones that were just sent a couple of days ago in "More power management updates for v4.19-rc1". I might have those results in some presentable form by later today (it looks O.K.) Results with this patch will take another couple of days. ... Doug