From nobody Mon Jun 8 07:24:51 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 5FB943D45FA; Thu, 4 Jun 2026 18:45:39 +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=1780598741; cv=none; b=uE6cFt5n4eefIrxPdko/IOW7pDN4mT41SXa/NyoWNWOyYIAF3kqSarcB4Lu41Cuc89x+zzQX1VYI/5u6jvgDZXLxidOAe1daF2/84PDmjB0vEj8UVq3YTkcITjT/S0HCE24zdjN3LnezSJRiSkl8W/WoZhEB3UDL7frXw63lww0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780598741; c=relaxed/simple; bh=7zwOecJg6Gy2aN8l8ZfUigwZu1DRZtH2TY/tgCG6WcM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Tde+ytbQsn2DgFxK/s4915qqSgsar/lDjQSdf673+oB91jkPUKRx8EV8f5lK7CvQht87/LwDp8gltM/XmjiIdn8Ipdw0+88HGCR1lEwbbaMsia9lxwKNDgYZhpFvU7Q2x/njCr6RpT5s1qqjZoPCkBuwQC1Xk5b/8eiIDiSQPgg= 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=rx92VqAX; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=v1VfrNHu; 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="rx92VqAX"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="v1VfrNHu" Date: Thu, 04 Jun 2026 18:45:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780598738; 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=Wi75LztBzjz357Qn37CsbOAQoq1+EVl5oVD7V/oDiNo=; b=rx92VqAXclN8n3ldYLgObxbXKL4C296/w/88OLPwGHFdYm+1wpdVKbQmskTQ3rKyMlZ6bt O2QJNMWBTevHrvRdi0cThxWv3YCg4xjSYeaQ0e8pzkFjcq8iJv86TnbNwR1esxlvlxVZGW RWG91TBW89iuyWQKPv/NpyYQ7BmO1d9Yq/4IapyNyehLBb6sZe76JVXbKzMmzKLFNse3zL Ri3pgn5AgFcMxVLH6K0/T2MXW0JgG85EIV19ZQ7yV8pj1+nPUtnKZS55oMn9GMsiColmHZ i6bQXhG9EM0pmSDHrZS/zDzF1DMb0Iiv5i9Bgrfiln9wi8kp/RApo1CVmiPtow== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780598738; 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=Wi75LztBzjz357Qn37CsbOAQoq1+EVl5oVD7V/oDiNo=; b=v1VfrNHu19cemf8Bgtob0cEumkt/YJ53UEV5kzo63zAfUSlV59o3PndvnY4ss9o1moS0ee 891FSY1Xx7VYWzBg== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/proxy: Remove superfluous clear_task_blocked_in() Cc: "Peter Zijlstra (Intel)" , John Stultz , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260526113322.120970670@infradead.org> References: <20260526113322.120970670@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178059873659.710.11002998121888143736.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: c0404dd88d124714351f7a961d3313ee0f2f036b Gitweb: https://git.kernel.org/tip/c0404dd88d124714351f7a961d3313ee0= f2f036b Author: Peter Zijlstra AuthorDate: Tue, 26 May 2026 11:22:30 +02:00 Committer: Peter Zijlstra CommitterDate: Tue, 02 Jun 2026 12:26:09 +02:00 sched/proxy: Remove superfluous clear_task_blocked_in() Per the discussion here: https://lore.kernel.org/all/20260403112810.GG3738786@noisy.programming.ki= cks-ass.net/ The reason for this condition is that the signal condition in try_to_block_task() would set_task_blocked_in_waking(). However, it no long= er does that, in fact, that path does clear_task_blocked_on(). Further, per the discussions here: https://lore.kernel.org/r/dc61cf77-e541-441d-a708-c40e19aa0db2%40amd.com https://lore.kernel.org/r//9dd1d24d-45d3-4ee2-8e67-8305b34bfb6d%40amd.com there are a few other edge cases that needed this. But they're all variants of PROXY_WAKING leaking out. And since PROXY_WAKING is now gone, this is no longer needed either. Signed-off-by: Peter Zijlstra (Intel) Acked-by: John Stultz Link: https://patch.msgid.link/20260526113322.120970670%40infradead.org --- kernel/sched/core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index cec2c16..d579518 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -7142,9 +7142,6 @@ pick_again: if (sched_proxy_exec()) { struct task_struct *prev_donor =3D rq->donor; =20 - if (!prev_state && prev->blocked_on) - clear_task_blocked_on(prev, NULL); - rq_set_donor(rq, next); next->blocked_donor =3D NULL; if (unlikely(next->is_blocked)) {