From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755311AbcESXeO (ORCPT ); Thu, 19 May 2016 19:34:14 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:35581 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754172AbcESXeM (ORCPT ); Thu, 19 May 2016 19:34:12 -0400 From: Steve Muckle X-Google-Original-From: Steve Muckle Date: Thu, 19 May 2016 16:34:08 -0700 To: "Rafael J. Wysocki" Cc: Steve Muckle , Peter Zijlstra , Ingo Molnar , Linux Kernel Mailing List , "linux-pm@vger.kernel.org" , Vincent Guittot , Morten Rasmussen , Dietmar Eggemann , Juri Lelli , Patrick Bellasi , Michael Turquette , Viresh Kumar , Srinivas Pandruvada , Len Brown Subject: Re: [PATCH 5/5] cpufreq: schedutil: do not update rate limit ts when freq is unchanged Message-ID: <20160519233408.GC15383@graphite.smuckle.net> References: <1462828814-32530-1-git-send-email-smuckle@linaro.org> <1462828814-32530-6-git-send-email-smuckle@linaro.org> <20160519194635.GG17223@graphite.smuckle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 19, 2016 at 11:15:52PM +0200, Rafael J. Wysocki wrote: > But anyway this change again seems to be an optimization that might be > done later to me. > > I guess there are many things that might be optimized in schedutil, > but I'd prefer to address one item at a time, maybe going after the > ones that appear most relevant first? Calling the last two patches in this series optimizations is a stretch IMO. Issuing frequency change requests that result in the same target-supported frequency is clearly unnecessary and ends up delaying more urgent frequency changes, which I think is more like a bug. These patches are also needed in conjunction with the first three to address the remote wakeup delay. Are there specific items you want to see addressed before these patches could go in? I'm aware of the RT/DL support that needs improving, though that should be orthogonal. Also if it helps, I can provide a test case and/or traces to show the need for the last two patches. thanks, Steve