Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752872AbdDJASW (ORCPT ); Sun, 9 Apr 2017 20:18:22 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:41352 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752727AbdDJASB (ORCPT ); Sun, 9 Apr 2017 20:18:01 -0400 From: "Rafael J. Wysocki" To: Linux PM , Juri Lelli Cc: LKML , Peter Zijlstra , Srinivas Pandruvada , Viresh Kumar , Vincent Guittot , Patrick Bellasi , Joel Fernandes , Morten Rasmussen Subject: [RFC/RFT][PATCH 0/2] cpufreq: schedutil: Updates related to the rate limit Date: Mon, 10 Apr 2017 02:07:23 +0200 Message-ID: <3498238.liCqOyIkGA@aspire.rjw.lan> User-Agent: KMail/4.14.10 (Linux/4.11.0-rc4+; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 909 Lines: 21 Hi, These two patches result from the discussion at the OSPM-summit last week and are targeted at alleviating some issues related to the frequency change rate limitting in schedutil. They are intended to be used along with https://patchwork.kernel.org/patch/9655173/ and are based on the current linux-next branch of the linux-pm.git tree (which should be equivalent to linux-next from the PM material perspective). The first one is to allow scaling drivers to specify their own (smaller) latency multipliers for computing the default value of rate_limit_us. The second one makes schedutil store the maximum CPU utilization value seen after the previous frequency update and use it for computing the new frequency next time to address the problem with discarding intermediate utilization values. They have been lightly tested on a Dell Vostro laptop with an Intel Sandy Bridge processor. Thanks, Rafael