Received: by 10.192.165.148 with SMTP id m20csp1976080imm; Thu, 26 Apr 2018 04:56:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/f0qGQBOUbnCJSZp5zLq0vmY/02rAp961D+/ItjST+66ZcPr9BoYCn1eJTEFXgkf6jv/gu X-Received: by 10.99.38.71 with SMTP id m68mr21985544pgm.56.1524743810228; Thu, 26 Apr 2018 04:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524743810; cv=none; d=google.com; s=arc-20160816; b=cGx0AVJYpfGc+dT/mL9YDDng6rBDI86XsHzGXND2NupEaO/ShWBiM+hITcryQfeypG b5romud4Z+nl4pVmJD/mKH1BQug+386wn/PI8Qk+MmwE2ax9ezTdPoyNSP5OVTtYxsTR sQ3nxlGnJy2Ugxk+0JWmNLLzZJjTa7sZoh5NG8LkdLryb62y2+ejV2hdgqJMA0pP6Le7 Ccy+c9N7Eba63Gv02ggydvLT0eTX5mGkcrXFARala9+fscfsEkdilaZEnledcq4Z+z3e BTX+YLmr1RK0J/J1ag1OGL7R4cD1o34TLLcZ2Hu+y9vCqnIkS9EK9YZutPpjHgQknjEQ r2rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=xlMVlaJd05k1ebAneikZW5CCHvhb10H1QE9+GXSZuy0=; b=rJ3A3kTLGysOMSwzMEY3QtGgBS5paTi0afTE12Iqn5XdnmdIAQMogHMhBct3U2Hpwp FaA497SzuA6xDh/VpKWAteq5Jl/eiVF7hd2lTHwc/loP1KG+PgBChhs50h6AJcD8Y8Sz vgnYXBVj6q83Ow7qS5dXAlSpMp02e4yC1c0E6Zo76szdhsfU7L6ljp+TpY9w7Eg6zcag rW8/lAe1hvQq958icmNoBtKMuE+3Or1y8LYXiqyQJUsZem9H+cwXKJi3WMnRDzeDfY9e Nr0BeOp3JoY3GL5aSMqyYrj9k2Jnic6DbQa4/agJVLXqyJTWshHDW2gOrqBXJUV4OE1E sakA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Z2ma8YAo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3-v6si13459803pld.96.2018.04.26.04.56.35; Thu, 26 Apr 2018 04:56:50 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Z2ma8YAo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756390AbeDZLx5 (ORCPT + 99 others); Thu, 26 Apr 2018 07:53:57 -0400 Received: from merlin.infradead.org ([205.233.59.134]:48220 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756167AbeDZLwv (ORCPT ); Thu, 26 Apr 2018 07:52:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xlMVlaJd05k1ebAneikZW5CCHvhb10H1QE9+GXSZuy0=; b=Z2ma8YAoy77csVwUvbCCw6TWX o4BbY92BAHcmSg5QMvY4taLQPAwCClxSEtI8RK14A5qWJu8q37hP/FZpqKpXGvUUso8oiNTewzBkz PL4V7Z/FXZoDcUq8Moyd7VJt+mRvm7Mn+GuxFbVsShyzKcqAKcHx7cnaTmQRahzMacRgBTKlXPNS/ NpYT6dof+xKyCs8lnIYTl8hTrphWMedeGqJSoDCacKfqF2sod6KYKkVRWPtI81F8N6DnWLzpzt4VD gUGFdiOI4fQLX9gK57ZAIbGhB7BBH9phN3Po5UG3QtCxd0f8LOW3q+04FtSUAeGKARD9THxQFTnTx ApwAKt3wg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBfS8-00089x-D4; Thu, 26 Apr 2018 11:52:44 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 172852029FD58; Thu, 26 Apr 2018 13:52:43 +0200 (CEST) Date: Thu, 26 Apr 2018 13:52:43 +0200 From: Peter Zijlstra To: Patrick Bellasi Cc: Vincent Guittot , linux-kernel , "open list:THERMAL" , Ingo Molnar , "Rafael J . Wysocki" , Viresh Kumar , Juri Lelli , Joel Fernandes , Steve Muckle , Dietmar Eggemann , Morten Rasmussen Subject: Re: [PATCH] sched/fair: schedutil: update only with all info available Message-ID: <20180426115243.GK4064@hirez.programming.kicks-ass.net> References: <20180406172835.20078-1-patrick.bellasi@arm.com> <20180410110412.GG14248@e110439-lin> <20180411151450.GK4043@hirez.programming.kicks-ass.net> <20180411153710.GN4082@hirez.programming.kicks-ass.net> <20180426111533.GX14248@e110439-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180426111533.GX14248@e110439-lin> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 26, 2018 at 12:15:33PM +0100, Patrick Bellasi wrote: > > Yes, these patches predate those, but indeed, now that we age the > > blocked load consistently it should no longer be required. > > After this discussion, I think there is a general consensus about > always add sg_cpu->util_cfs in cpufreq_schedutil.c::sugov_aggregate_util. > > Is that right? Yes I think so. I've been waiting to see the problem with the blocked load aging patches sorted though. Because if we'd have to revert those we'd be back to needing the current stuff again. Luckily it appears Vincent found something there, so fingers crossed. > For the rest, what this patch proposes is a code reorganization which > is not required anymore to fix this specific issue but, it's still > required to fix the other issue reported by Vincent: i.e. util_est is > not updated before schedutil. > > Thus, I would propose to still keep this refactoring but in the > context of a different patch to specifically fixes the util_est case. > > If there are not major complains, I'll post a new series in the next > few days. Fair enough..