From nobody Sun Jun 21 02:29: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 A1CF838836A; Wed, 8 Apr 2026 11:20:10 +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=1775647214; cv=none; b=tJ3jQDQLF9kCfFcEDi6eS+MTrUTYrkQUg5Y7Nf87xjp2uL+7yAdYxh3vm9GdnQCmWKaKfRk5MFCqEcm/cgUEmof+tjwX+GZryeL7sRtkpDzE4f9a6qiSWBGUyqqubXRzUEbbdJX3mjpvVJKQVEE4/uxhuGh4xzpKcyoICE2+5uA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775647214; c=relaxed/simple; bh=hYZ4WOTylRpH2cCwgZMjwAo5RD+Y13AOxLlL6Xx7EsU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=WMNJuZUMEK+jj8dAO810Nn80rqm2lRx/xKLlUSGTVzUaqejk8elai6EDH/dy5ySnYzMspbsNdzdVr4UTdGpcEZGTW7pQDVJ7UpGGsCIU8bnDjLWoALw83cfncGukcPgZlaifxktLn/sKykIdCE2yp9eh/yMspnvvmk4j6oLsySU= 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=SzehXuCa; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=LULU6SP3; 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="SzehXuCa"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="LULU6SP3" Date: Wed, 08 Apr 2026 11:20:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1775647207; 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=bEaRjhar3FNWlJfTvoc/sD/eSpYsgP26K0yHOuwvHpg=; b=SzehXuCaN3XKxN7BNajdPjNGHMTcOGxQwrurrB9HQEddVaUSNdPb8MbSgTLinG2/liaXdG Dshyw8nKnk7WqPNUmT8roNMnFbFGmV15Q5/ekxEzupGMxMhPtf+Tjhkpz4Rlt7zX/9XCyS jpLw5gDCRiymbwzmLURi3zmC4uK5bqbMqGGCw92VN5BaWRJoxH/PRhQ8CX84DEm1B8n2gf MNi4dvDXoTsQ6DfnuOHmz0SzTo6/LmmOy1jlCdQgzuACC5nUqQW8N+2WMl70XGOeJ4n40f Z3N/3JFSnUG9/9KGpDusABuQRH+9YI7/+LQVQ2woVa78P7OPo1MMlentYBOFrA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1775647207; 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=bEaRjhar3FNWlJfTvoc/sD/eSpYsgP26K0yHOuwvHpg=; b=LULU6SP3FtwK9CsZgBt4ca2H9UeStfT/vj5zZfDh7RO4RRuIM6NoCRF0FcL1/DGVlDD9D/ 0d+9TYMJZSdGh4Bg== From: tip-bot2 for Michal =?utf-8?q?Koutn=C3=BD?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/rt: Cleanup global RT bandwidth functions Cc: mkoutny@suse.com, "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260323-sched-rert_groups-v3-3-1e7d5ed6b249@suse.com> References: <20260323-sched-rert_groups-v3-3-1e7d5ed6b249@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177564720610.801717.10070485706205589147.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: 985215804dcbf02ab675977e770708e3f084e9fc Gitweb: https://git.kernel.org/tip/985215804dcbf02ab675977e770708e3f= 084e9fc Author: Michal Koutn=C3=BD AuthorDate: Mon, 23 Mar 2026 13:39:39 +01:00 Committer: Peter Zijlstra CommitterDate: Wed, 08 Apr 2026 13:11:44 +02:00 sched/rt: Cleanup global RT bandwidth functions The commit 5f6bd380c7bdb ("sched/rt: Remove default bandwidth control") and followup changes made a few of the functions unnecessary, drop them for simplicity. Signed-off-by: Michal Koutn=C3=BD Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260323-sched-rert_groups-v3-3-1e7d5ed6b249= @suse.com --- kernel/sched/rt.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index e16d8f1..4ee8faf 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -2829,13 +2829,6 @@ long sched_group_rt_period(struct task_group *tg) return rt_period_us; } =20 -#ifdef CONFIG_SYSCTL -static int sched_rt_global_constraints(void) -{ - return 0; -} -#endif /* CONFIG_SYSCTL */ - int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk) { /* Don't accept real-time tasks when there is no way for them to run */ @@ -2845,14 +2838,6 @@ int sched_rt_can_attach(struct task_group *tg, struc= t task_struct *tsk) return 1; } =20 -#else /* !CONFIG_RT_GROUP_SCHED: */ - -#ifdef CONFIG_SYSCTL -static int sched_rt_global_constraints(void) -{ - return 0; -} -#endif /* CONFIG_SYSCTL */ #endif /* !CONFIG_RT_GROUP_SCHED */ =20 #ifdef CONFIG_SYSCTL @@ -2874,10 +2859,6 @@ static int sched_rt_global_validate(void) return 0; } =20 -static void sched_rt_do_global(void) -{ -} - static int sched_rt_handler(const struct ctl_table *table, int write, void= *buffer, size_t *lenp, loff_t *ppos) { @@ -2901,11 +2882,6 @@ static int sched_rt_handler(const struct ctl_table *= table, int write, void *buff if (ret) goto undo; =20 - ret =3D sched_rt_global_constraints(); - if (ret) - goto undo; - - sched_rt_do_global(); sched_dl_do_global(); } if (0) {