Re: [PATCH] sched/rt: Remove empty sched_rt_do_global() helper
From: K Prateek Nayak
Date: Wed Feb 11 2026 - 03:25:28 EST
(+Steve)
Hello Zhan,
On 2/11/2026 12:41 PM, Zhan Xusheng wrote:
> sched_rt_do_global() is an empty helper that has no effect on
> RT bandwidth sysctl handling.
>
> Historically, sched_rt_do_global() was responsible for managing
> RT throttling parameters before the introduction of the fair
> server. Since commit 5f6bd380c7bd ("sched/rt: Remove default
> bandwidth control"), the function became obsolete, but the empty
> helper and its call site were retained.
>
> Remove the unused function and its call site to simplify the
> sysctl update path.
>
> No functional change intended.
>
> Reviewed-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>
> Signed-off-by: Zhan Xusheng <zhanxusheng@xxxxxxxxxx>
I believe there is another competing cleanup by Michal at
https://lore.kernel.org/lkml/20260119-sched-rert_groups-v1-0-80c1e5269910@xxxxxxxx/
which is doing a little bit more.
I'll leave it to Peter / Steve to pick which one they prefer.
--
Thanks and Regards,
Prateek