From nobody Mon Feb 9 02:15:32 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B64D51C2A for ; Thu, 21 Mar 2024 12:39:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711024760; cv=none; b=STqbwyoKsWQ9iJjZQo3VRGrl9mW8IhA8m4WtyYJtZANCWvNRURSUNVCz2TsjpHOFMP84S9EXNRAAfkGfhfgVEYZmayCC1sGHb6MTIK/vYDWWRwOIGWT84Jl+YKD/aoFA29rVRLHsatxSIIzbq/DX/20YFZPr+bpBiYr7MPle76k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711024760; c=relaxed/simple; bh=CT5MwjdDPcpuxxnsZWTEMN7MikSmaQxaH7LiWRofkz0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hGmdx0BtfTVYIJsXbsmbgMhDNcRcvKHSlwibyG0CC3UIjTulsc9k0G+Hx4x0T9k8KscZgcyMQbncHqgyjfVmyYhuh/lyL/xjC0TF3suHFSOkr+/3KkP1Ye8qLeL2UDVHhMz9KIP0VxfkbiGUt6Ma1eE1PduW3VP0bcJEToh9XIE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 782461007; Thu, 21 Mar 2024 05:39:51 -0700 (PDT) Received: from e133047.cambridge.arm.com (e133047.arm.com [10.1.27.56]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7F3333F762; Thu, 21 Mar 2024 05:39:15 -0700 (PDT) From: Christian Loehle To: linux-kernel@vger.kernel.org Cc: vincent.guittot@linaro.org, mingo@redhat.com, peterz@infradead.org, dietmar.eggemann@arm.com, Christian Loehle Subject: [PATCH] sched/fair: Remove stale FREQUENCY_UTIL mention Date: Thu, 21 Mar 2024 12:39:09 +0000 Message-Id: <20240321123909.3892773-1-christian.loehle@arm.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" effective_cpu_util() flags were removed, so remove mentioning of the flag. commit 9c0b4bb7f6303 ("sched/cpufreq: Rework schedutil governor performance= estimation") reworked effective_cpu_util() removing enum cpu_util_type. Modify the comment accordingly. Signed-off-by: Christian Loehle Reviewed-by: Vincent Guittot --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 03be0d1330a6..a674832efbc1 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -7861,8 +7861,8 @@ eenv_pd_max_util(struct energy_env *eenv, struct cpum= ask *pd_cpus, * Performance domain frequency: utilization clamping * must be considered since it affects the selection * of the performance domain frequency. - * NOTE: in case RT tasks are running, by default the - * FREQUENCY_UTIL's utilization can be max OPP. + * NOTE: in case RT tasks are running, by default the min + * utilization can be max OPP. */ eff_util =3D effective_cpu_util(cpu, util, &min, &max); =20 --=20 2.34.1