]> git.ipfire.org Git - thirdparty/linux.git/commit
sched/rt: Move group schedulability check to sched_rt_global_validate()
authorMichal Koutný <mkoutny@suse.com>
Mon, 23 Mar 2026 12:39:38 +0000 (13:39 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 8 Apr 2026 11:11:44 +0000 (13:11 +0200)
commit4f70a0456d090303d5a6c915dd7d9db9da56cb16
treeb2369505c9d5a2aeabec284dbe110c92d272017f
parent8b016dcec9365675be81d26be88f2c09cf983bd4
sched/rt: Move group schedulability check to sched_rt_global_validate()

The sched_rt_global_constraints() function is a remnant that used to set
up global RT throttling but that is no more since commit 5f6bd380c7bdb
("sched/rt: Remove default bandwidth control") and the function ended up
only doing schedulability check.
Move the check into the validation function where it fits better.
(The order of validations sched_dl_global_validate() and
sched_rt_global_validate() shouldn't matter.)

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260323-sched-rert_groups-v3-2-1e7d5ed6b249@suse.com
kernel/sched/rt.c