Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp339996lqh; Thu, 28 Mar 2024 03:56:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVh0e6fjIkR9/XO2piEOrBzEjqItENEX4NRCqTAOmR2+Yo7sDN3u4y+ZsZPTvAwuhyZMMmLKq68HMcop7pgtcenZBmdggphKmZ1BUiY7Q== X-Google-Smtp-Source: AGHT+IE5jaJh1AAIocGDUN8PA0mSBkCrQYmPfBNPWx7FMPzbRKyTvohd5fBFehr8+GzTEu0sKe26 X-Received: by 2002:a05:6a20:9c97:b0:1a3:bd8a:edd with SMTP id mj23-20020a056a209c9700b001a3bd8a0eddmr2675048pzb.28.1711623377407; Thu, 28 Mar 2024 03:56:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711623377; cv=pass; d=google.com; s=arc-20160816; b=wuyiQckHjI/H0jx4wXWZ6eul/PSpuAxUr+HviCm0WGWIsoNm8343dfmmVhZELREWwn iIc9WbXMzA7uXFXf/s5tm87j9SO25CgBv4t4ICxIwCDbGE9v3XvONNbz2Xk01Nk7XfJD FiVZKbxp2l5Dlm7aSL3ZCa+zutm56TfZQ9jWqLltq4vg3kcF0AeywhgY9qFmTUsJ1N5S KDm3bY2hREHBQJ6CSLTj+ePJQjwbUkUPn9BO6MKB9Bb90CfJ45ydQ8Mea6ZpyZ8KPNXr Q6h4LMCaf5/wVxm94w6iA1CaQyytW5QuyRRz2KVaYvepoI1lHI8jIbhFaeHExDPXlVRx BdpQ== 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=Ijx70PGXxDUWe1LR7/nBQ3plW6vk21x6ud6Lp8Dn8OA=; fh=HTl5akuVXpDVLQhphI+cgiUP0Mq0a87e3xnpx8ES6UE=; b=W1N0jrR4hhEZvO28cjKEwiqviVsXx07i9wWepjL3CS8UdNG1yTgukPDRqzVB7N10Zg QhNTd3cvlR0/jtM9K8bN1EmfhjHmnGk5zZKLWDkRxxr48FbewlWlxGqHOGzrPrZzcCWs JCyU8Ia1sgObpNVvUidxJEt7uDSeB4Y5MQ4cIKI4l8UveCTlyIj3G5IRJ+T3gaJ2e8eV asymDNdehES1bCf216Ul0UOSAlR+p36SHb0ZGa977zm7i5pqrI4y0585x1ISiFmmc5pO W08gZOCR2kDGFKICJG9roUaZM6UaSpiiG/5WMqVvb+D6MyWOqfhV2TwS8jVO1VdSYoiv QrdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Vk7nZ8Zo; 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-122799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122799-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 y27-20020a637d1b000000b005e43a9f911fsi1223553pgc.53.2024.03.28.03.56.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 03:56:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122799-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=Vk7nZ8Zo; 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-122799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122799-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 01C0C294B84 for ; Thu, 28 Mar 2024 10:56:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 415DD43ACD; Thu, 28 Mar 2024 10:56:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Vk7nZ8Zo"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="a/3LuUBF" 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 E2DAB7D08A; Thu, 28 Mar 2024 10:56:09 +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=1711623371; cv=none; b=kdwnhSkhz/ydi6lI0BwMO1ll3TJvOY+wf8bXFbBh28DXZF13hQaRxkvB61zJnwDgw1BasPvp8R+V9Fv8isatNGddRTmfIqNJSQ++fg3oRb+awjSevRwh2MY7Xx6s/pd/aq+VLclyYEwgQBbXbshLtffly5j+QD7KDw1mmPTws84= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711623371; c=relaxed/simple; bh=SXJxnz/9fgB3shCu9Wg4h5fiFmz/MAUo2JfmHvadSpU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=dq0Ixk2WSpvDEBRWtgLEIfDzq7yeKxRmTy6uosUpE5LVGrUk888U0efazn0nbjmlR15EgUsxpysIqf/fPDZlkiX+wTTzmAQMFXMCKhzFyWkL0ZOrQepLm8F57IzP+PXrTnCxF6OP6kLxZ1FuLDZL7RVHZSB4vt2ABTviD/jeVBs= 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=Vk7nZ8Zo; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=a/3LuUBF; 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 10:56:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711623367; 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=Ijx70PGXxDUWe1LR7/nBQ3plW6vk21x6ud6Lp8Dn8OA=; b=Vk7nZ8ZoS3/7HDoqKa9legACOX8+OUM8eVABnxFCjenUZMroM03Kg1zDncPB0DxnrSW3TW ISO05Z74ihXVe3S6BD7Pyrv3tlh8Qo/k5y644PRjHyxEYfc8P8S3a2IwvelLAjH4nSd5a1 kG6/0qnZ6ypEVdFnK1HiQstVosU458dYxlmGz1TWtgh7Fuvltx3pjUNq8FBNxPoeRtFZuV 3TE0gGdwA1lVsSAz/GmnhEhXe26fIHdkzUheyzXIQpo+JDEPgyjbng+tArEmbp2kuJlC+I leIaNvEbCQhY//3CTkZuFI/EpdeLOmGzI1QPJlGa/gfY3Njlfxmtp1GO3YFeqg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711623367; 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=Ijx70PGXxDUWe1LR7/nBQ3plW6vk21x6ud6Lp8Dn8OA=; b=a/3LuUBFUZGx120cppZu9130rwTm8dLyzgplpHVMRMiTAqY/8QhWtHP7yc+k8y3WeeDsbO v0hrSetRMDKpsHBQ== 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 SG_OVERLOAD to SG_OVERLOADED 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: <171162336698.10875.16744866913045067877.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: 7bda10ba7f453729f210264dd07d38989fb858d9 Gitweb: https://git.kernel.org/tip/7bda10ba7f453729f210264dd07d38989fb858d9 Author: Ingo Molnar AuthorDate: Thu, 28 Mar 2024 11:44:16 +01:00 Committer: Ingo Molnar CommitterDate: Thu, 28 Mar 2024 11:44:44 +01:00 sched/fair: Rename SG_OVERLOAD to SG_OVERLOADED Follow the rename of the root_domain::overloaded flag. Note that this also matches the SG_OVERUTILIZED flag better. 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 | 6 +++--- kernel/sched/sched.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index bf10665..839a97a 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -9961,7 +9961,7 @@ static inline void update_sg_lb_stats(struct lb_env *env, sgs->sum_nr_running += nr_running; if (nr_running > 1) - *sg_status |= SG_OVERLOAD; + *sg_status |= SG_OVERLOADED; if (cpu_overutilized(i)) *sg_status |= SG_OVERUTILIZED; @@ -9986,7 +9986,7 @@ static inline void update_sg_lb_stats(struct lb_env *env, /* Check for a misfit task on the cpu */ if (sgs->group_misfit_task_load < rq->misfit_task_load) { sgs->group_misfit_task_load = rq->misfit_task_load; - *sg_status |= SG_OVERLOAD; + *sg_status |= SG_OVERLOADED; } } else if (env->idle && sched_reduced_capacity(rq, env->sd)) { /* Check for a task running on a CPU with reduced capacity */ @@ -10657,7 +10657,7 @@ static inline void update_sd_lb_stats(struct lb_env *env, struct sd_lb_stats *sd if (!env->sd->parent) { /* update overload indicator if we are at root domain */ - set_rd_overloaded(env->dst_rq->rd, sg_status & SG_OVERLOAD); + 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, diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index c7e7ae1..07c6669 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -851,7 +851,7 @@ struct perf_domain { }; /* Scheduling group status flags */ -#define SG_OVERLOAD 0x1 /* More than one runnable task on a CPU. */ +#define SG_OVERLOADED 0x1 /* More than one runnable task on a CPU. */ #define SG_OVERUTILIZED 0x2 /* One or more CPUs are over-utilized. */ /* @@ -2541,7 +2541,7 @@ static inline void add_nr_running(struct rq *rq, unsigned count) #ifdef CONFIG_SMP if (prev_nr < 2 && rq->nr_running >= 2) { - set_rd_overloaded(rq->rd, SG_OVERLOAD); + set_rd_overloaded(rq->rd, SG_OVERLOADED); } #endif