From nobody Sun Feb 8 10:43:33 2026 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 B933658207; Tue, 12 Mar 2024 12:00:20 +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=1710244822; cv=none; b=oY30JEo5kJncIGb8SXDHtg/8nuMC3kvxrTiBMaJsnv4mVWAeFYKRQzGpY8dUpxWXYXmINHAI84+sikUWOIcevL69I0uyjR9BnWY5jIk8t7K4uI9e0Y1GRvu/4xd7YRTwen+Rai14BPkQ62m9+o6yzmdcfR/HCJJ+2UYQU9SrPHk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710244822; c=relaxed/simple; bh=KM1UBwQkbdFws82BZPs7LJL/AWBztGJFkHtykBh7GUg=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=L4IlHIiYUcqUFrjlmpOg8AQUeirAcsZAsc06LVjJtUnnzmOBjImaKFTf8KTEk6eg+KPDH0ERXI/NFewBRp5/HY9rfHyPWHkN+YCsu4oCE2bR1dXkRkKfoHeph+3GyRBVVhlyC64p4EW9SqjEKP9w7Hk/JWhAiKFFEAP1LxwIwj8= 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=aRb4kCVc; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ytpMkHWg; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aRb4kCVc"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ytpMkHWg" Date: Tue, 12 Mar 2024 12:00:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710244818; 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=DZ8pXc6XEwmfIru+Hl3JIXfbLQwZTEjs/716tqLpL/o=; b=aRb4kCVc2cvdabyVQZnGcdAJqjeS49m1t88ISkDOfltuP1OY+dvfA/Egt53/VlIpBe6H+p kvtrvMYzsIsgwWsWti595ZYq+VefNRAxN25VAB4uBYkIAkR2Pf1f5jHol1n/yB0w+eMbPz i08SyZxyWPEiSpPjsUfItIllKUgnFc+zSQjAOGpbypq6zjCVyfREZ3NsEy1XtA7NvzNYMA VrPZ4V4myv1dzJj22PfTiZ0lMl3Od+FoDxcqR9bF+zX2HJgLIUWJVfTu5FrUZ9S794tOpo trYRKUW0sLxR+jb+Z99c309vPk0aOtYJ7T8hja7nLC1tuZpSxNNYeLN3QvMHgQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710244818; 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=DZ8pXc6XEwmfIru+Hl3JIXfbLQwZTEjs/716tqLpL/o=; b=ytpMkHWg3SlGaG+bhrbdJnxm+ib0/p+JLho/swgxGjlQkOW7OkGeOxJ8kaCfK4TYx9cLeF KlMManHsXIYQKXDQ== 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/balancing: Fix a couple of outdated function names in comments Cc: Honglei Wang , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <5biu@gmail.com> References: <5biu@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171024481767.398.13644214266877553008.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: quoted-printable The following commit has been merged into the sched/core branch of tip: Commit-ID: d72cf62438d67b911212f8d4cf65d6167c1541ba Gitweb: https://git.kernel.org/tip/d72cf62438d67b911212f8d4cf65d6167= c1541ba Author: Ingo Molnar AuthorDate: Tue, 12 Mar 2024 11:33:50 +01:00 Committer: Ingo Molnar CommitterDate: Tue, 12 Mar 2024 12:00:01 +01:00 sched/balancing: Fix a couple of outdated function names in comments The 'idle_balance()' function hasn't existed for years, and there's no load_balance_newidle() either - both are sched_balance_newidle() today. Reported-by: Honglei Wang Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/ZfAwNufbiyt/5biu@gmail.com --- kernel/sched/fair.c | 2 +- kernel/sched/pelt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 4b3c4a1..a19ea29 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6866,7 +6866,7 @@ dequeue_throttle: =20 #ifdef CONFIG_SMP =20 -/* Working cpumask for: sched_balance_rq, load_balance_newidle. */ +/* Working cpumask for: sched_balance_rq(), sched_balance_newidle(). */ static DEFINE_PER_CPU(cpumask_var_t, load_balance_mask); static DEFINE_PER_CPU(cpumask_var_t, select_rq_mask); static DEFINE_PER_CPU(cpumask_var_t, should_we_balance_tmpmask); diff --git a/kernel/sched/pelt.c b/kernel/sched/pelt.c index f80955e..3a96da2 100644 --- a/kernel/sched/pelt.c +++ b/kernel/sched/pelt.c @@ -208,7 +208,7 @@ ___update_load_sum(u64 now, struct sched_avg *sa, * se has been already dequeued but cfs_rq->curr still points to it. * This means that weight will be 0 but not running for a sched_entity * but also for a cfs_rq if the latter becomes idle. As an example, - * this happens during idle_balance() which calls + * this happens during sched_balance_newidle() which calls * sched_balance_update_blocked_averages(). * * Also see the comment in accumulate_sum().