Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp784759lqo; Fri, 17 May 2024 01:06:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcj7+s5bR08s0u6DbR7AiBVRAIN2PFqgPwQPvnq2K++VWSHgS5YuxWjT1w0UQFCczvt1Jb4MDhbTBj4CxPOJ3plLxuZF+pWweW0uHSZQ== X-Google-Smtp-Source: AGHT+IGCOyFJVLUXaS3P+cxKcmp74EVcAm3RAbnUJ2NMuIuGQdYMiFuUGbYlEyBwSOvKOouEMqvn X-Received: by 2002:a0c:f20a:0:b0:6a3:5bde:69da with SMTP id 6a1803df08f44-6a35bde6ab6mr68137366d6.7.1715933183234; Fri, 17 May 2024 01:06:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715933183; cv=pass; d=google.com; s=arc-20160816; b=V3HNIu6XDK3LdCrv7d9cqVJA5pHE2nXh8TafRuMKdijL2Oy2g1i/Ju2kLsvJKzz6o2 WLVBTBmDjhSCS47+jON63QjL/OzSSw2qMTV6QGGpTuaEGd/zN4XFujhgCUMDPOxXdITs 1NHkT/GEvi0LYPD6k3R7d/c/mbsgeW2wCNwtVtbxIVzUXDNWT/VCxfgQ45VixLKrzePT q2SrfHRxQzhfjjElL1hhSPLZC17/gU+zxTgybAei4XBeIXcdxnQ0/q/iIWAYCPlItpOS gVCJrnkaz254xGpYlol/UII+eCHg1ZBwOOcjryMw2d0RS9sukwAo+VEcrG+M5lNtgyVp ejjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=d3Iy5KH4Ri+raN2Ol1VdPOOeuFVq4IBOP5b//7P0Fc0=; fh=gnLOKfDQDPvcUNalPTKX1U5//LgAJldMsGbZ4uqyi7I=; b=THx9FjLZsvjMlmyPDBZGVh35tjLOOIcDA4YkeFDRh4dkWX8p7S5EaYrAHn6RReNkh6 wEjfcu4HDWHHaL20SMua7gffc9xQRKBacQBSMyLQ+OZBZzd+SbRCHwoH+tGVJCD4nmN8 qQE002LjB+NX1ULgydrpzA1ANZP8iIu/17b0UcJUFX752LhAk6k0F2voUhNgrL0JSclk 2XPa0AFBlLBvNLV2U41MVHCOOb7HB9GzCBiDFIEkhTlB4yBA4eAN86sCL6DnYG3Ggc4/ QyJ2v4A3nFd/95vdSFAF8pBcnQBgdM832suVAo7jTvuzJ1lpE+7/89dxd/mkRMnnqxlG ouoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YM5HLagf; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-181850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2ec8ffsi200867006d6.461.2024.05.17.01.06.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 01:06:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YM5HLagf; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-181850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 F1FA31C21F49 for ; Fri, 17 May 2024 08:06:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 721B8225D9; Fri, 17 May 2024 08:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="YM5HLagf"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nZx9Eu6m" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31511199A2; Fri, 17 May 2024 08:06:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715933173; cv=none; b=W7iHAyRETcmeRue8Kt/iL0wXaloWh/FgFNtQDi9PlZiObxd759WP2hKSs0hqcK2IA8byiNVOgCSNtccjQYGNh5rGhfLgOb9s1CIf4Ck+lVTds3I5Uu+WjdsNYuGQUsU7uhGJcOY0XIbqBCc1MTSzv4CmrJlW5xMVcjSIdb0ff3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715933173; c=relaxed/simple; bh=jNneO9bmaMNPBJVCxleElN3bh9dEZfqgRo76Tfh7peA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=nOuE8YdKB5HILmPxx8c34fS8rExyyFUOwk9CEQ76LNnMx7Q4Qkme7WBaV/J/VBRZZmug4eQo+ASWl7tOwunA/+u5TxTjGLNpZJjBCV4TPTadM1KqUkE8tT7P3MuHXzW0fztmzYBBfqj40mxH5bll9KRVq7NCzsyNu/zlLbl3VnQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=YM5HLagf; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nZx9Eu6m; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 17 May 2024 08:06:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1715933170; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=d3Iy5KH4Ri+raN2Ol1VdPOOeuFVq4IBOP5b//7P0Fc0=; b=YM5HLagftmIMLVzgvXBYEUBO4lbj5JaKnFPVpucjpf/LxxD/Hr4R/T8iNt0MWECMt0mIyl 0pw4fh2JObCaEL3n/qwl5ri6aSjPKDkY/kPiOFrZ7ztjYQ2na0apHwCGtpG3stWs71ZzxT lpZ2cchey2UFpWdFrax2+21vyHnVzoO3U0V+xuu3AhfGw0/59ONigyecal79pXp7IiuybL mETGAhISBUC7qPa+25ghJls4WBIoZuWjS+PnzfmrQZh0zBiPSgUReWQ2qkDJhIUB/KnzvS NYTfKwABO2CiUwYREKa2Ie2556B2aV5rysBpCBM/Ha4wisqO++7yXG9x3PoKug== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715933170; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=d3Iy5KH4Ri+raN2Ol1VdPOOeuFVq4IBOP5b//7P0Fc0=; b=nZx9Eu6mr8roCLa2tSdI8BF1gWGAINSU9VdclMOkGhc9GH1CPC7PjUjddl/ue+Qupp04fP us0Bv/e1DLJStCAw== From: "tip-bot2 for Christian Loehle" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/urgent] sched/fair: Remove stale FREQUENCY_UTIL comment Cc: Christian Loehle , Ingo Molnar , Vincent Guittot , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <0e2833ee-0939-44e0-82a2-520a585a0153@arm.com> References: <0e2833ee-0939-44e0-82a2-520a585a0153@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171593317034.10875.13671501551374746016.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 7cb7fb5b49399fc59f1c44686d82c0df0776c8c6 Gitweb: https://git.kernel.org/tip/7cb7fb5b49399fc59f1c44686d82c0df0776c8c6 Author: Christian Loehle AuthorDate: Tue, 05 Mar 2024 15:18:20 Committer: Ingo Molnar CommitterDate: Fri, 17 May 2024 09:51:54 +02:00 sched/fair: Remove stale FREQUENCY_UTIL comment On 05/03/2024 15:05, Vincent Guittot wrote: I'm fine with either and that was my first thought here, too, but it did seem like the comment was mostly placed there to justify the 'unexpected' high utilization when explicitly passing FREQUENCY_UTIL and the need to clamp it then. So removing did feel slightly more natural to me anyway. So alternatively: From: Christian Loehle Date: Tue, 5 Mar 2024 09:34:41 +0000 Subject: [PATCH] sched/fair: Remove stale FREQUENCY_UTIL mention 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 Signed-off-by: Ingo Molnar Reviewed-by: Vincent Guittot Link: https://lore.kernel.org/r/0e2833ee-0939-44e0-82a2-520a585a0153@arm.com --- 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 9009787..9744b50 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -7900,8 +7900,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);