Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8577333ybi; Tue, 23 Jul 2019 11:04:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyN3ih6z1B5ZyFr+9wKkBysCLGoqwAXWPEf5u/Hnsfj7RgVmXuXjZ/9khF80IfbA6aNQNk4 X-Received: by 2002:a65:4546:: with SMTP id x6mr76500518pgr.266.1563905079399; Tue, 23 Jul 2019 11:04:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563905079; cv=none; d=google.com; s=arc-20160816; b=vgwMerIqCK1cbZGuX9kFffC2e63VRkzzc/behn4dnotGHg9Ft4ypYsEZjOT4chBAsZ cWInUcCXsIKwCD34d9dgjza08PYYtO5flVNwhoUN4spEraISHg1lTBjTpWj5j1lFgB2W sKgVIx26EF4PHKxbmlqxJpEGYdZhAOPdgd9tpgOVPxOFc9bKHtL3DjH5Mq2n6Xl9e12z Nii7uCDideUyrwPLc+Gb9LeZ0Xcxs0arFg2JRhP75+cZUOb5Lg/6H9Ei5mWZ8hE/E21v X4reCltsBjYjdpaj/1jVUL0905PGT4CkDXvQyu5kB24TQYrFC/pc9vuDqKzXjFuMNqBs s1Eg== 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; bh=wujA94+Og9Bx9XzZozqqH52IFciDgKWmF/1WB888+Tw=; b=KF7Llq2krrYV5OjB0QSU+f8WLQaivDAVLhcYvL/1gP2lmaLvIKc6V+DD7ZEGHdQ45j 0bc015krc+Oxm0jtpU37rvti0UkGkLBTi4Ovm+jL9EzJxMxhiHKNkDmdOi3RAiO1694y 6oUmvQ2ItTp6KY/oC+QNiBdmjZYh/Wz2lJrivsaVhma7rwmNeHVAAe38/JSECeOUytNH SjJTZkZoxLQ0+C0MvW3tsWiVHTk360IxGmMCTkbmco7XvZBR0zxtatVrxkWdpiCdKlPA 9VrGdOJegV9xe9N4N4pQnY96frGS0mwpRGmrVUAyVIRToo2rrcZVI/YKCL24d50QnlVb O9AQ== 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 q23si11784538pff.103.2019.07.23.11.04.22; Tue, 23 Jul 2019 11:04:39 -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 S2388753AbfGWJN3 (ORCPT + 99 others); Tue, 23 Jul 2019 05:13:29 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:41150 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726352AbfGWJN3 (ORCPT ); Tue, 23 Jul 2019 05:13:29 -0400 Received: by mail-oi1-f195.google.com with SMTP id g7so31762677oia.8; Tue, 23 Jul 2019 02:13:28 -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=wujA94+Og9Bx9XzZozqqH52IFciDgKWmF/1WB888+Tw=; b=R6LWVFAU6Z/PmvNWFEMKWwXBmV8B2yUImSYjMEQFv5FQgTAkxcVF/ll+2oB/fw0Yqv Mm+J/Q+iSKwZ4zx/6N4J7KXMiwDJdjHWouUtB5Y/wik7kcEp24D0Lu6gh0uCT2OXOPBp FI9VtqPmjNf6eLNZjG8kJ11PfgeiEMZnt9WeLcy4R2hakHo9LeeMfbYEHsvPq7PKV96v YAlwDz9SuFZrjEXh7TFz6xwgirrjWILlFgCGvRyT6AfZyV24gmKha3PnzwqGXDCXMCYh rY2JOGuOeT/NXcbnkehneEcmsXbArC3CJhRbODPQDiY93xwpELER4P2Pi8ycge62VK6h HYhA== X-Gm-Message-State: APjAAAX8GnFN/j53diH/MJW3F16GuFu3arC+TvNQ7v5MsqB+R5KW4Jl8 pEKg6flU4ebIT9VPvF7L73oyqj8WNXmaZJ17vEY= X-Received: by 2002:aca:edc8:: with SMTP id l191mr36097785oih.103.1563873208155; Tue, 23 Jul 2019 02:13:28 -0700 (PDT) MIME-Version: 1.0 References: <1563431200-3042-1-git-send-email-dsmythies@telus.net> <8091ef83f264feb2feaa827fbeefe08348bcd05d.1563778071.git.viresh.kumar@linaro.org> <001201d54125$a6a82350$f3f869f0$@net> In-Reply-To: <001201d54125$a6a82350$f3f869f0$@net> From: "Rafael J. Wysocki" Date: Tue, 23 Jul 2019 11:13:17 +0200 Message-ID: Subject: Re: [PATCH] cpufreq: schedutil: Don't skip freq update when limits change To: Doug Smythies Cc: Viresh Kumar , Rafael Wysocki , Ingo Molnar , Peter Zijlstra , Linux PM , Vincent Guittot , Joel Fernandes , "v4 . 18+" , Linux Kernel Mailing List 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 Tue, Jul 23, 2019 at 9:10 AM Doug Smythies wrote: > > On 2019.07.21 23:52 Viresh Kumar wrote: > > > To avoid reducing the frequency of a CPU prematurely, we skip reducing > > the frequency if the CPU had been busy recently. > > > > This should not be done when the limits of the policy are changed, for > > example due to thermal throttling. We should always get the frequency > > within limits as soon as possible. > > > > Fixes: ecd288429126 ("cpufreq: schedutil: Don't set next_freq to UINT_MAX") > > Cc: v4.18+ # v4.18+ > > Reported-by: Doug Smythies > > Signed-off-by: Viresh Kumar > > --- > > @Doug: Please try this patch, it must fix the issue you reported. > > It fixes the driver = acpi-cpufreq ; governor = schedutil test case > It does not fix the driver = intel_cpufreq ; governor = schedutil test case So what's the difference between them, with the patch applied? > I have checked my results twice, but will check again in the day or two. OK, thanks!