Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10415338rwr; Fri, 12 May 2023 07:55:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4j9fuY1zMzkl7clumWUcXfY4GGDD/4KaYwHNSc2isJx4E3iXM1y5BsNUSfSS6z/W8JFHJd X-Received: by 2002:a05:6a20:840d:b0:f6:592a:7e29 with SMTP id c13-20020a056a20840d00b000f6592a7e29mr31141169pzd.3.1683903309264; Fri, 12 May 2023 07:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683903309; cv=none; d=google.com; s=arc-20160816; b=QxNshHgQSK8mL5Cysfba55y/mkejfBLHlIrNBTUGKih+QnUkGcM7DSU6UnRoS+foyz HjxBxSHHxVJ9RcxD9s5IzgaA0vFwmwqdIPzS1zpOhZoQ8GO/jLKXNDvUVqK1a1y8ieRF rV60EuFjP0cpclPPhiUgP+5bvEjSItgn+0HUyrAtJqf/8qKafUBmMKKh24W52DPCVTIq Lqtse1bIpCQ0Zy2dOgjYchHFBsYgAsLTO+SmjWMnl1Yb9RLzAoqd/stV363xyaxRXaPR hKRVtbc8j9LFo8DwqX0K5hwxkHAYZPbmvBUG3sw26a9bvF2h+gc8vmo39TvlWmWIXYom Hizg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=lZLTK3yFTxBEBhynkRdBDRAmWldYeDXMQmaFN6O3mGo=; b=EVAGMzL+aN/QcEi97+8aS36DyOmzGeVouSKbAQNU9/Fq7DI56zFFxMSwHoXODxwZjI A55fAgHJMzE1jySnUalPdxLBrh+FrprGa6Qrq2o98dovaww49k0SKCrmTy591myeAfT9 yDkGCXCG9RPHD4wcTCDq1NyvaLVjsOeEpF1huknGOj/W7sXc5Zkx1IzawA8ZHXuWK8mE Sxt0+FpHSrLnlT90Vub9XWFPH+vN5KzIVesX1BZmI6DZWC7pbVwxK9QtrcOxRJ3ebNOx UXCmg4ejBct7aXdf8XbgCWkH16UZxoDsqh5Vgr+yeF2LHJ6lNzzOIlC8Jxk4ZhO8Lym6 fieA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z24-20020a63ac58000000b0051b930ef848si4387219pgn.142.2023.05.12.07.54.56; Fri, 12 May 2023 07:55:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241376AbjELOkF (ORCPT + 99 others); Fri, 12 May 2023 10:40:05 -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 X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.