[PATCH v2 0/3] sched/rt: Fix schedulable check with rt_group_sched=0 and cleanups

From: Michal Koutný

Date: Tue Feb 17 2026 - 05:53:55 EST


The crux is the first commit which fixes how sysctl
kernel.sched_rt_runtime_us changes are validated with
CONFIG_RT_GROUP_SCHED but rt_group_sched=0.
The rest are cleanups that occurred to me.

Signed-off-by: Michal Koutný <mkoutny@xxxxxxxx>
---
Changes in v2:
- Prateek's ifdef/locks suggestion
- Rebased on current torvalds/master
- Link to v1: https://lore.kernel.org/r/20260119-sched-rert_groups-v1-0-80c1e5269910@xxxxxxxx

---
Michal Koutný (3):
sched/rt: Skip group schedulable check with rt_group_sched=0
sched/rt: Move group schedulability check to sched_rt_global_validate()
sched/rt: Cleanup global RT bandwidth functions

kernel/sched/rt.c | 40 +++++++---------------------------------
1 file changed, 7 insertions(+), 33 deletions(-)
---
base-commit: 9702969978695d9a699a1f34771580cdbb153b33
change-id: 20260119-sched-rert_groups-431e2d5d1c57

Best regards,
--
Michal Koutný <mkoutny@xxxxxxxx>