From nobody Thu Apr 2 20:41:54 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 8B811369961; Tue, 24 Feb 2026 09:13:21 +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=1771924404; cv=none; b=caCYXNVgGWugZZfWERPULzfW3t+8CbofzhBrcxNFizLxrl3J6L61kp6mtFVoySUaqZ4Ri1A7Vuwl/VDkhvqu4hD8k8mP2ygkqsn6fdUN37QcNzkAXdiHrF+Tjj3QTuWtT6HSJCTEZeXIOIqyysFPC36BEfsrQqml+KVO6YLt8+A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771924404; c=relaxed/simple; bh=KuVYNikS8k7Jt4yfESvQVEjuHDgUBn9GeK+pA9pjfXE=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=pheSf5UF3/HLrP5V4KZI1R4JCQWWeNdYlhYdhFmbkjlnnqQM91HhNjk8JOKB0Q/CG8REhUraxMeW3cFQkQmist/WQaHL6JjsGEYiHnNmu1nH5V3YLvOoL9fSM1ZqUx0hKVueXoHsO//1E8reIimwkogIIbIWyjjOemBxR33cRTQ= 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=mSv6cEJW; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=2W2Sv0tr; 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="mSv6cEJW"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="2W2Sv0tr" Date: Tue, 24 Feb 2026 09:13:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1771924399; 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=nw/RQJN1dYC8NGS9Ny5JsfBxdf0dOQtXMX/699FE2EY=; b=mSv6cEJW+bfZJ0L3AK0eKk9CgYdD+RR+1C71zLhdHdtOCpP3IVIvi73z+42l6uRjBrDmMX m5+P4mU8fvlk0rWTwcigHzTXbh/iATkqBqwlqi+8KCby8e6vcGRObpwuqToS8JtrDqf6Gx BoDr2JSflg/fDZg2UQ/0jbZDwYZR+0FQmkiy7tW07Oqi8qjx42dg1Be7kQKZQh5ZRouJoh qnt0POle9UAWyggVe39Sasseew4HFXNYrdk2uj/PlZz7bSpq1HZqTckti3rOcqNyHH6o8H 7nZXQtUse43SK8qCw/8l2JCwBfbUED8Fx2ecCuSBUS2/Lrm/3bJNmg1SiJnpqA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1771924399; 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=nw/RQJN1dYC8NGS9Ny5JsfBxdf0dOQtXMX/699FE2EY=; b=2W2Sv0trPdZlBxJ/wsJc4lV1Psv31a1Vf220M5PPN7KT1MOb6RuBXhRrY3odU+g185LQ5n 98+/OJzKlmC9pVDg== From: "tip-bot2 for Vincent Guittot" 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: Update overutilized detection Cc: Vincent Guittot , "Peter Zijlstra (Intel)" , Qais Yousef , Christian Loehle , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260213101751.3121899-1-vincent.guittot@linaro.org> References: <20260213101751.3121899-1-vincent.guittot@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177192439878.1647592.12684081681566840926.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: 9264758066061e660c86e48cff1bac4a58a7324a Gitweb: https://git.kernel.org/tip/9264758066061e660c86e48cff1bac4a5= 8a7324a Author: Vincent Guittot AuthorDate: Fri, 13 Feb 2026 11:17:51 +01:00 Committer: Peter Zijlstra CommitterDate: Mon, 23 Feb 2026 18:04:11 +01:00 sched/fair: Update overutilized detection Checking uclamp_min is useless and counterproductive for overutilized state as misfit can now happen without being in overutilized state. Since commit e5ed0550c04c ("sched/fair: unlink misfit task from cpu overuti= lized") util_fits_cpu returns -1 when uclamp_min is above capacity which is not considered as cpu overutilized. Remove the useless rq_util_min parameter. Signed-off-by: Vincent Guittot Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Qais Yousef Reviewed-by: Christian Loehle Link: https://patch.msgid.link/20260213101751.3121899-1-vincent.guittot@lin= aro.org --- kernel/sched/fair.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 23315c2..b8b052b 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -7018,16 +7018,15 @@ static inline void hrtick_update(struct rq *rq) =20 static inline bool cpu_overutilized(int cpu) { - unsigned long rq_util_min, rq_util_max; + unsigned long rq_util_max; =20 if (!sched_energy_enabled()) return false; =20 - rq_util_min =3D uclamp_rq_get(cpu_rq(cpu), UCLAMP_MIN); rq_util_max =3D uclamp_rq_get(cpu_rq(cpu), UCLAMP_MAX); =20 /* Return true only if the utilization doesn't fit CPU's capacity */ - return !util_fits_cpu(cpu_util_cfs(cpu), rq_util_min, rq_util_max, cpu); + return !util_fits_cpu(cpu_util_cfs(cpu), 0, rq_util_max, cpu); } =20 /*