From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: [PATCH v2 0/2] cpufreq / sched: Rework of cpufreq_update_util() arguments Date: Fri, 12 Aug 2016 02:01:29 +0200 Message-ID: <6346523.ZooER3FGDH@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: Received: from cloudserver094114.home.net.pl ([79.96.170.134]:64773 "HELO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751204AbcHLABc (ORCPT ); Thu, 11 Aug 2016 20:01:32 -0400 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Linux PM list Cc: Linux Kernel Mailing List , Peter Zijlstra , Srinivas Pandruvada , Viresh Kumar , Steve Muckle , Juri Lelli , Ingo Molnar Hi, There were some comments on the "cpufreq / sched: cpufreq_update_util() flags and iowait boosting" series I sent some time ago and I wanted to address them, but for this purpose I had to combine patches [1-2,4/7] from that series into one and make some changes on top of that. Then I thought it would be better to send that separately from the iowait boost part of that series, so here it goes. [1/2] Removes the util and max args from cpufreq_update_util() and governor callbacks and adds a flags argument instead of them. That argument is then used to handle RT and DL in schedutil and the utilization data are accessed by it directly (so it is non-modular now to avoid exporting the scheduler internals to modules). [2/2] Replaces the time argument of cpufreq_update_util() with an rq pointer which allows some simplifications to be made. There should be no changes in behavior as a result of this. The v2 is to address comments from Steve. Thanks, Rafael