Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp373489lqh; Thu, 28 Mar 2024 05:01:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWASUJxCZlnJPTqPZdAgSq1Z51O/fKzDmwToA+h9Us+xTQnMjno7DXwV/nImGEnBv4BwinGowIkzKr5shUztpEVAVXK3AGJFiyHfREVtQ== X-Google-Smtp-Source: AGHT+IElTsDsueuUg1/zgzjg4f2yXII1HT+RWEBDEQGROy+3Nq8zALVasKGocA2zoPkdVrAVZJ6r X-Received: by 2002:a17:903:11d0:b0:1e0:378c:43e1 with SMTP id q16-20020a17090311d000b001e0378c43e1mr3249991plh.27.1711627301604; Thu, 28 Mar 2024 05:01:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711627301; cv=pass; d=google.com; s=arc-20160816; b=l5YUkWEMRacWvat0NkXNNKAXlxdNaUYYzvL34LNruxwiOrLykySjSjZQL17tZK31xt FPqmmzrumTPjoELv8ZF6iv4k74oRzAJTjVSGEQAXim2n/W7qvMcFBuupDXtdrU9j23h3 pKqzxw26DJcliLF2rTlYFFzEnLgubL+rVzXF94uSbfrdg1WxQmDsrMGhrpYlDBmpeOk1 gloObsNg772o4kblyyhpsP2Ae0KFuGlzs8pd5o5KhnG2MEopUm2enE6Ht760U+w5FW9r d68slcYhyRMEgyKh+1J+6beMxgtZbAd9UjB2zt9foBlUaZ1CZz5TyR6uGHd6aWirNJhY VNYg== 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=jP0p65YWOsf77wLgWYhZ/RRn5X7bXK44Gnj/lGgc71Y=; fh=HTl5akuVXpDVLQhphI+cgiUP0Mq0a87e3xnpx8ES6UE=; b=GBcL7wk95Ag+1VNUXIizILtikBKsTrFmEv/aTx5B2Kktd3YO0oBFKHIuJUBi5UUe0l 2SH/gWv21SgXu2PxmAmvPxz3iY4KtOhDUXKpW25LxDWC5F015kFoIX+/cwQ3DxGQgPNV 8mjIbMRE0JL1w+MWzDXThsOvsEj9XJhHyJShWJDLW2rCAdkEiczsg6Ex6f8W+veZ6w8A zZK277qJO3QJuaUVZE4HG6/jFtW9gqjFuM1gL5m/uzX2QQbGnyPBHFKJw+BDujx2EhZ5 7MflLtVt7dZx1hxgyc2UeUOLuCcmY+puU0x5k8XcfOTduICrgAEUoR8dsn2SX+alxYFv 5Ddw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GZ9lnkX3; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-122859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o4-20020a170902d4c400b001e030ca0607si1350431plg.161.2024.03.28.05.01.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 05:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GZ9lnkX3; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-122859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122859-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 36D4F29655D for ; Thu, 28 Mar 2024 12:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0322E7F48C; Thu, 28 Mar 2024 12:01:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="GZ9lnkX3"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="QTR7MTbK" 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 E128B7EEF0; Thu, 28 Mar 2024 12:01:17 +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=1711627280; cv=none; b=JMPdL4zG2M5vhsSybtskGlh84Rd6ANqM2CyHgT1yE2Sh9l6cV24t1rxhTTWlEY7wR2+nHKZs8AqOQCND6cKEqId7zUitZrrb6wI8lcHpkbZBmp0GReuVXjF/8AgPwI6ER3l9Iwb72JREdNBZITsvPTGUS2v2DAoxjqFXZQZml4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711627280; c=relaxed/simple; bh=wOB2LfjWpNF45aDOCaXSuvmmAgZ/ioyeLxdQfdTJtKw=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=JcKqVWOZbu7n+igo0ZkJ13P3RvKrw8ExA0RBcZA5kJYbqwVGyvcw+OfvqrlLsXtS+9HkeRRBu9NiOEb3V3ON2t6hXw2SjivhQuabQvEMnVRghq3c06EjtuHIKNfqjTotpknH/f4XzQ7kdjNH6gGcxu2AVYOojPT/ByJE399aLW8= 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=GZ9lnkX3; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=QTR7MTbK; 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: Thu, 28 Mar 2024 12:01:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711627269; 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=jP0p65YWOsf77wLgWYhZ/RRn5X7bXK44Gnj/lGgc71Y=; b=GZ9lnkX3liD+/1xLsCpe0Wj+Jr90eH3BCCIcx1wNjDM/LG2JB3sdm7kMch1SzZjC1jKk79 /sBHTiMyFozrJfkRtqpJ/5zqMYS+abyJJ1qVJYxSaj5vX5/9+VuHSF8O5ELljLCTaVwbRu googX4S70KjUl/2LNCG76rCUM8wDzVbTpY6Yi+h2CF2gmQwudkdm/x1FbAdCvNoVz2T9uG BwZuR8YsamDU8VXEU98XxxchKDpNw0fXdXsJzOJ68VRuKmzqyDZiAZX23dP+TTopPsH/2P whTNNS75zogZGdD81ObAENvNsCuFfWB5Bpw6m2SPFZ/VKqZtLlrIz1CSRG1ZSQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711627269; 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=jP0p65YWOsf77wLgWYhZ/RRn5X7bXK44Gnj/lGgc71Y=; b=QTR7MTbKSsNcVD31a3NHtrUVk+KmTqsrjTH9orwJCU/a3au9mc09jsE6eXaIQFs7IGHf4J Yr9FiRCDtOonwHDw== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/fair: Rename set_rd_overutilized_status() to set_rd_overutilized() Cc: Ingo Molnar , Qais Yousef , Shrikanth Hegde , Vincent Guittot , Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171162726870.10875.3148729818855002567.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/core branch of tip: Commit-ID: 4d0a63e5b841c759c9a306aff158420421ef016f Gitweb: https://git.kernel.org/tip/4d0a63e5b841c759c9a306aff158420421ef016f Author: Ingo Molnar AuthorDate: Thu, 28 Mar 2024 11:54:42 +01:00 Committer: Ingo Molnar CommitterDate: Thu, 28 Mar 2024 11:54:42 +01:00 sched/fair: Rename set_rd_overutilized_status() to set_rd_overutilized() The _status() postfix has no real meaning, simplify the naming and harmonize it with set_rd_overloaded(). Signed-off-by: Ingo Molnar Cc: Qais Yousef Cc: Shrikanth Hegde Cc: Vincent Guittot Cc: Peter Zijlstra Link: https://lore.kernel.org/r/ZgVHq65XKsOZpfgK@gmail.com --- kernel/sched/fair.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 839a97a..f29efd5 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6693,7 +6693,7 @@ static inline int is_rd_overutilized(struct root_domain *rd) return !sched_energy_enabled() || READ_ONCE(rd->overutilized); } -static inline void set_rd_overutilized_status(struct root_domain *rd, +static inline void set_rd_overutilized(struct root_domain *rd, unsigned int status) { if (!sched_energy_enabled()) @@ -6711,7 +6711,7 @@ static inline void check_update_overutilized_status(struct rq *rq) */ if (!is_rd_overutilized(rq->rd) && cpu_overutilized(rq->cpu)) - set_rd_overutilized_status(rq->rd, SG_OVERUTILIZED); + set_rd_overutilized(rq->rd, SG_OVERUTILIZED); } #else static inline void check_update_overutilized_status(struct rq *rq) { } @@ -10660,10 +10660,10 @@ static inline void update_sd_lb_stats(struct lb_env *env, struct sd_lb_stats *sd set_rd_overloaded(env->dst_rq->rd, sg_status & SG_OVERLOADED); /* Update over-utilization (tipping point, U >= 0) indicator */ - set_rd_overutilized_status(env->dst_rq->rd, + set_rd_overutilized(env->dst_rq->rd, sg_status & SG_OVERUTILIZED); } else if (sg_status & SG_OVERUTILIZED) { - set_rd_overutilized_status(env->dst_rq->rd, SG_OVERUTILIZED); + set_rd_overutilized(env->dst_rq->rd, SG_OVERUTILIZED); } update_idle_cpu_scan(env, sum_util);