From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88B27C77B7F for ; Fri, 12 May 2023 14:40:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241384AbjELOkG (ORCPT ); Fri, 12 May 2023 10:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241143AbjELOkD (ORCPT ); Fri, 12 May 2023 10:40:03 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 12A041BF4 for ; Fri, 12 May 2023 07:40:03 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5F5EAD75; Fri, 12 May 2023 07:40:47 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4AB713F663; Fri, 12 May 2023 07:40:01 -0700 (PDT) Message-ID: <968bf17a-0926-0b21-031b-bca869e41888@arm.com> Date: Fri, 12 May 2023 16:39:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 2/2] sched/fair, cpufreq: Introduce 'runnable boosting' Content-Language: en-US To: Peter Zijlstra Cc: Ingo Molnar , Vincent Guittot , Qais Yousef , Kajetan Puchalski , Morten Rasmussen , Vincent Donnefort , Quentin Perret , Abhijeet Dharmapurikar , linux-kernel@vger.kernel.org References: <20230512101029.342823-1-dietmar.eggemann@arm.com> <20230512101029.342823-3-dietmar.eggemann@arm.com> <20230512113232.GX4253@hirez.programming.kicks-ass.net> From: Dietmar Eggemann In-Reply-To: <20230512113232.GX4253@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/05/2023 13:32, Peter Zijlstra wrote: > On Fri, May 12, 2023 at 12:10:29PM +0200, Dietmar Eggemann wrote: [...] >> @@ -10561,7 +10568,7 @@ static struct rq *find_busiest_queue(struct lb_env *env, >> break; >> >> case migrate_util: >> - util = cpu_util_cfs(i); >> + util = cpu_util_cfs(i, 1); >> >> /* >> * Don't try to pull utilization from a CPU with one > > When you move that comment from cpu_util_cfs() to cpu_util() please also > add a paragraph about why boost=1 and why these locations, because I'm > sure we're going to be asking ouselves that at some point. Will do.