From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Zhan Xusheng <zhanxusheng1024@gmail.com>,
Peter Zijlstra <peterz@infradead.org>
Cc: Juri Lelli <juri.lelli@redhat.com>,
<linux-kernel@vger.kernel.org>,
Zhan Xusheng <zhanxusheng@xiaomi.com>,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [PATCH] sched/rt: Remove empty sched_rt_do_global() helper
Date: Wed, 11 Feb 2026 13:55:12 +0530 [thread overview]
Message-ID: <241df8e3-08a7-493a-b28e-f1770b1bd122@amd.com> (raw)
In-Reply-To: <20260211071151.851-1-zhanxusheng@xiaomi.com>
(+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@amd.com>
> Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
I believe there is another competing cleanup by Michal at
https://lore.kernel.org/lkml/20260119-sched-rert_groups-v1-0-80c1e5269910@suse.com/
which is doing a little bit more.
I'll leave it to Peter / Steve to pick which one they prefer.
--
Thanks and Regards,
Prateek
next prev parent reply other threads:[~2026-02-11 8:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-11 7:11 Zhan Xusheng
2026-02-11 8:25 ` K Prateek Nayak [this message]
2026-02-12 2:05 ` Steven Rostedt
-- strict thread matches above, loose matches on Subject: below --
2025-12-17 7:37 [PATCH] sched/rt: remove " Zhan Xusheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=241df8e3-08a7-493a-b28e-f1770b1bd122@amd.com \
--to=kprateek.nayak@amd.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=zhanxusheng1024@gmail.com \
--cc=zhanxusheng@xiaomi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®