Re: [PATCH RESEND] sched/rt: remove empty sched_rt_do_global() helper

From: K Prateek Nayak

Date: Mon Jan 12 2026 - 01:12:11 EST


Hello Zhan,

On 1/12/2026 9:32 AM, Zhan Xusheng wrote:
> sched_rt_do_global() is an empty helper that has no effect on
> RT bandwidth sysctl handling.

Perhaps you can add small comment indicating its prior function:

sched_rt_do_global() was responsible for managing the RT throttling
parameters before the introduction of the fair server.

Since commit 5f6bd380c7bd ("sched/rt: Remove default bandwidth control")
sched_rt_do_global() turned obsolete but the empty helper was retained.

>
> Remove the unused function and its call site to simplify the
> sysctl update path.
>
> No functional change intended.
>
> Signed-off-by: Zhan Xusheng <zhanxusheng@xxxxxxxxxx>

Feel free to include:

Reviewed-and-tested-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>

--
Thanks and Regards,
Prateek