Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3863812imm; Sat, 25 Aug 2018 04:26:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYKVOgP9BBwGjguh3KgE/rVo6eU7swVgVTsA2b+CPH7XXGy0lc9BWW0PhrGTMbB1uEg6EHO X-Received: by 2002:a63:cc04:: with SMTP id x4-v6mr5328293pgf.33.1535196401024; Sat, 25 Aug 2018 04:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535196400; cv=none; d=google.com; s=arc-20160816; b=mvKC47VCp/NG8s3YQa6AyVNvOFWKRX75PxoyKeytdyKE8i4BnaxINjPl5lbIDWQoGk CpQsHkmKzPDnxt1aox5GaKhk4iGK3tMTYIa/+UoPn9geUdBuTZPUSagn4JVEFZXIB9sa /jpuvbh6YD6o8YroBAuP52a4f9lpctLNvb62+T9MhRdYPZTt42AQrviVAuU/hbD1djSN lAd1settjrL/xqvj/wY8WGXbQtrlYCSheuSSV0RK+CGrD5BVhaWPX5jyTTD3RcZTwRn6 RxCIADwGDQ3B3ZzS7OXMNFWnwJ0fYXGaHWYOmXG7DL3Inn5EX1Tmfr+5NHE9C2X5nLOu Rdeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=fE0pTMEfBua07Pw8ZqJb+6OUKoSm94ROR/q+KzgLwFY=; b=l1q0wW2m0gm5fodEDt+74faGYZtimtJYv64QbpdfLm5/A40BCOW3rwjtkq4opVfcVC iW4LZCN4mUPb0wZ99o3yOMYDLjVrlRQrChuhWMnDSpb2X66/gtGNNvhdTZqRHllYzIwJ Nhp99TDfc/YH+QCvsYdL4NCCNSTnKVLqnsaNG8eO7IyzN66dIa2aP1eE37K4/zbpCYrd i4zFmTYY5K7SnECSEKFImo/v5NqN7+nkVbaE/nKfCqPdya4hhvByhBLPkMRWic3xYjjB TbVEVdsbGbO/U8oGLYdAOJ0bD+TPKEwCHOB1/5nFc5srG+F83G7rkoCguOu7THugxM4s XI3A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10-v6si49146pgn.280.2018.08.25.04.25.57; Sat, 25 Aug 2018 04:26:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726694AbeHYPAg (ORCPT + 99 others); Sat, 25 Aug 2018 11:00:36 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:44210 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726502AbeHYPAf (ORCPT ); Sat, 25 Aug 2018 11:00:35 -0400 Received: by mail-oi0-f66.google.com with SMTP id l82-v6so14043069oih.11; Sat, 25 Aug 2018 04:21:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fE0pTMEfBua07Pw8ZqJb+6OUKoSm94ROR/q+KzgLwFY=; b=hKZuvVoRmGxk0MkSdIf2+CllJhQH5GetZPlqjYFY8tjW5K16N3Q7/b2H88clIOqWNJ GRUgI58QWCqriNRtqwRtgbxsDV4kJLurFonPUhtRkt4vNSjCUPU5FseAsRbN5J2Iv8/d RxPfJTqZD831kiNEKsteO0gqggiEgXUmD6DIEfMgetYI4RysBm8EGFL1ZT/zD8deHoO8 B7fzaKkXGeGOwiwNChoJLMOmAZOzl/IlcynycWyFBNpIYj+26NwvTvqVbfolBAiwhFO6 KfJEMoH1q0riJ0YN713nQc5TiNlHqLY+0LmzhjPNK4u4OlQW7/xHTFGdyzk9Lma136IC ps6Q== X-Gm-Message-State: APzg51Dlpz/e3HboJ3xPiLYcfmoh7RK9dsVf5HC7D5aUDoNDAcO2ABBd 2CPrNjzHI/1IV/3f0XID9LaF3NJq6yQJfUBwkpo= X-Received: by 2002:aca:1719:: with SMTP id j25-v6mr5110893oii.138.1535196115364; Sat, 25 Aug 2018 04:21:55 -0700 (PDT) MIME-Version: 1.0 References: <34910476.pgRhNDWo5t@aspire.rjw.lan> <000701d43bc1$5e0c2c50$1a2484f0$@net> In-Reply-To: <000701d43bc1$5e0c2c50$1a2484f0$@net> From: "Rafael J. Wysocki" Date: Sat, 25 Aug 2018 13:21:44 +0200 Message-ID: Subject: Re: [PATCH] cpuidle: menu: Retain tick when shallow state is selected To: Doug Smythies Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , Leo Yan , Daniel Lezcano , Frederic Weisbecker , Linux PM , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 24, 2018 at 5:52 PM Doug Smythies wrote: > > 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. Thanks Doug, much appreciated! This patch has been queued up, but I will wait for your results for a few days before pushing it. Cheers, Rafael