From nobody Wed Jun 17 07:34:33 2026 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49E9C3AEF2A for ; Mon, 27 Apr 2026 09:21:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777281672; cv=none; b=F0Ji8OKiiLY9BzNCrUrO7fS+DxR041Gh+OGk3Ci3Eq/jj2Z5Qsy6AuTmuY8CSPqSApuoRAOYCWWUUfLcp0+GzJ3b08UX00Eay/7M6utIhhs9Q4Zj9K6cunnLZG3NZp8lcWSjya3rN3ZSxrDzIilDMI9QoHhUdt4xCVEfUeiUZqY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777281672; c=relaxed/simple; bh=toUS+STPRgHPWCsvdEcJmF7Pf5/du3ymx5qGeySYM+g=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dgSTer9c94ryCIp2nRVszkEpZLux7+DVVa+5kppgZ0PVpm32eYByR7rC2OLk1fPMBo8D6JRcL8u6r3qqMYscGz1WChpjxUIH5wQf4whc6Xi9N2zk8D5LRb1y4lK/7NxY7zNXnGo2pTi6CtC5ZeWi88YN90iOnMpw3VylN7xD3XE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dPp4f4pK; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dPp4f4pK" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-43d03db7f87so6814330f8f.3 for ; Mon, 27 Apr 2026 02:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777281668; x=1777886468; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=E6zMPIWtRPZhX+8NjzKFLyYMRaoqufQDCiKruqOHycE=; b=dPp4f4pKFZ6x18x/ajWG+qVO5EupYro1M6TYObcZ5+mywInUWfMfubSCNMqnKeFlqK hoPfbUAgWnKAz43k7LZL1szXO7wDSiXfwNngjNaQFi/V6ep0ripRXLM8GUmqA+e/mtzr o4bJ0mgbTViKfNoJmQNOV25jCQoLR0kNEQ6pWTjo3jXrg4ruT6Z84uAJFEwklq9HeLjX 0EI5r8ww79RPOyZ/EbjGM/ZmTnQ9bOcVt/ik+S7O/koGkMkTw/2VRZd6DiUksZ47izj/ zP10mRrMdELOW4/FE524HiwJuVFuYOQXs0I54Zw7Nm46tLPG2MgG09TPA1upgJeVrqOQ i6gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777281668; x=1777886468; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E6zMPIWtRPZhX+8NjzKFLyYMRaoqufQDCiKruqOHycE=; b=AGCs08a/vp740LSVXh6dv/JzbqSFHq0YPFxg4iDKJnp4q+2465K+ytClWhLYRz0LPe 4L7gFaBrXYbR/DWyFqR/6WJZ3vZNjeikBoGzficTWWknhlsyfAq0P99JpLCC/LDhozD/ o/kZ0kfKOSbd8QByWcAQ0CvXYaBoTUhPbWVNPXd8jS1oVT3UHVktTLcC3uQn63avCeMh czXV10+JLgr+V7DMs9hFuemW3k4htVPa3f8rDcylCD18CESGpRuontOyHiunriHFcDaW Y9qTX0Sb9NeddjP1fW7TixhD2J0TwEU7ESMHZ+xWhp8tW+TDKBLwyTReNB+Fde2bwfTw etLQ== X-Gm-Message-State: AOJu0YwKUjs5hS2dCTcWWiKsLyuD7RxokfPJ4ONwCRdxnb8IxF4Xhm1o PEuw0HfaT0P/4ZBJvfm2oDjJnwdSZCaM/uF0DPR+r90t97mEqGO7pKn2VAwOAy7I X-Gm-Gg: AeBDieuEVVwGIYlQ1yGMWBKvx161/VDSZLJVk6IrzvNb3pDgtxFC+Eey0rNtq0RWRrA NFgBnUPAycfXkSJXHnLrej9SsQb++ZQimSLxRlCoy62RQFdR94WorMJThGJSA/UB9lun0GovXTG 1O77Ma7Qu7Vya7kQ//amqCpleaCbfmCIfONz2etNVfQyADAOVDhYV+fDuukwfLyTh8AkusyZyAY B7AAuoPmR18lt89zWTGjWvhKojWWiHH1wuiz0qxkZhjeW4f1cakXnQ6kt2c9HpKwvS/bfbe2Spi Ef8ge3cK/t6BotIQkYlHxAKgIPOxjS9J5Hkmm+tQGOBqprEW34hzyuctS8mm88r6UCAYGUGwTV7 ZPXP+jWL/dWQyeCFJzqipMNYyDPPo4Yzj3yEMUOXFuO2Sf/sqZhKXQavNbLqYCN6VlmRJ2tNrye GLMffu/GOyf81eELqvtrWQrM+w1D7Z73KApA== X-Received: by 2002:a05:6000:40dc:b0:441:2aee:d561 with SMTP id ffacd0b85a97d-4412aeedae4mr29298353f8f.28.1777281668132; Mon, 27 Apr 2026 02:21:08 -0700 (PDT) Received: from notebook.. ([88.230.47.139]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43fe4e3a341sm85117821f8f.24.2026.04.27.02.21.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2026 02:21:07 -0700 (PDT) From: Furkan Caliskan To: linux-kernel@vger.kernel.org Cc: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, vschneid@redhat.com, jstultz@google.com, Furkan Caliskan Subject: [PATCH] sched/deadline: Fix stale comment above yield_task_dl() Date: Mon, 27 Apr 2026 12:20:30 +0300 Message-Id: <20260427092030.28975-1-frn1furkan10@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The comment above yield_task_dl() states that bandwidth reclaiming is "planned for the future". This is now obsolete as GRUB-PA has been implemented. Update the comment to reflect that yielded bandwidth is now actively reclaimed for power saving and scheduling efficiency. Signed-off-by: Furkan Caliskan --- kernel/sched/deadline.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 27359a1e995f..fba29af74107 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -2368,14 +2368,11 @@ static bool dequeue_task_dl(struct rq *rq, struct t= ask_struct *p, int flags) } =20 /* - * Yield task semantic for -deadline tasks is: + * Get off from the CPU until our next instance * - * get off from the CPU until our next instance, with - * a new runtime. This is of little use now, since we - * don't have a bandwidth reclaiming mechanism. Anyway, - * bandwidth reclaiming is planned for the future, and - * yield_task_dl will indicate that some spare budget - * is available for other task instances to use it. + * Yielding indicates that the current instance has finished its work=20 + * early. This allows the remaining budget to be reclaimed by other + * tasks or used to reduce CPU frequency via the GRUB-PA mechanism.=20 */ static void yield_task_dl(struct rq *rq) { --=20 2.34.1