Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp421064lqp; Thu, 21 Mar 2024 05:39:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOI7nq6x4wzcPYFLiyv/GIALSGL6TDbp8OH3ltZkJNlyk2HH+2j5BPb1RkZHjO2DoZcGj1zvUS9KgDmix8DiypSfvkRmH2Er833HIjCw== X-Google-Smtp-Source: AGHT+IH4cfzVbDx1ouVUbBDadW/JZyKJoPy4AqKE+mo56gSxmAjYEVd+bAobZsViMLWBRQUI0Y2k X-Received: by 2002:a05:620a:11a1:b0:78a:303f:700 with SMTP id c1-20020a05620a11a100b0078a303f0700mr1328310qkk.23.1711024767031; Thu, 21 Mar 2024 05:39:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711024767; cv=pass; d=google.com; s=arc-20160816; b=el9XePNOUe7dM5QTK6BuZAFgfnfSc3EpOgE30MC23rxBnASislWPaYsLgxv4sUbwfS pIpppEr+TE3F9rpklCt+97ZHB2rCVviDnuO+Ghub6FAP4hBtU73yJzpNZ82He7l6JFW4 WZC1jMMNszQNqnBBYC+tfhCvK+SB8Bkk1QIWMTMZnVGB0dqld5IjfbLjN0v1gcE8OXFP vijAWuxrLAzHYH3SaJ7kJIBziqNt+wrTn7xLDuT8QYiwktFeG8pHsGr7T7H6HAeL37dH dwDdOosU96NbEW3ZBTIQ2U6YfcvO83Ah8dDwRI3rmQVSqJMmvUTjbDcx9DF9ymKJv5MS iMXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=wTOVOQ6vGaGJW0LJL0swyv0WDNQJ+sx2Kvzq9tfc+3A=; fh=MCBUMAX6fg5U8VNLgT1cOOoYo5mI/rGXhScbVHqw49o=; b=tjlo1pHiN8fQpL8QaYXmbV+FHHdiDRp7S9FSWqWODDzA87l6spu85EiIK/z+77fHJu hkhexCy6SCP6Sp2LSqrUOtR0IHi+c9qo9lUhg9RES7A2ljELH9IDqh35vZ3ZiNDyh0N0 gOB0iLOMGLPOHdDGr7CRvcBHcsd68fUvOrMgBTBALooI/RA2bnltEa958JhSVdePCmSx ZNlxv4Nv/ozYbGPWvgCb/YY8vxuWc7sTrXBBJN7cc+Tp/mnCmyELJbfmCkgrRZRIeSCt 0lPMyaT2c0lSJC+itPlxm6IXrWtWwKMwQieerwHiMpq4HXIoN1CnV+A8cx8Pf+s5GtDm yanQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-110040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m26-20020a05620a221a00b0078822dfd5afsi15417449qkh.312.2024.03.21.05.39.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 05:39:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-110040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B4CB51C2159C for ; Thu, 21 Mar 2024 12:39:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14DC883CB3; Thu, 21 Mar 2024 12:39:21 +0000 (UTC) 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: 8bit 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 cpumask *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 = effective_cpu_util(cpu, util, &min, &max); -- 2.34.1