Re: [PATCH sched_ext/for-6.17 2/2] sched_ext: Add support for cgroup bandwidth control interface

From: Tejun Heo
Date: Fri Jun 20 2025 - 23:04:38 EST


On Fri, Jun 13, 2025 at 03:34:22PM -1000, Tejun Heo wrote:
> From 077814f57f8acce13f91dc34bbd2b7e4911fbf25 Mon Sep 17 00:00:00 2001
> From: Tejun Heo <tj@xxxxxxxxxx>
> Date: Fri, 13 Jun 2025 15:06:47 -1000
>
> - Add CONFIG_GROUP_SCHED_BANDWIDTH which is selected by both
> CONFIG_CFS_BANDWIDTH and EXT_GROUP_SCHED.
>
> - Put bandwidth control interface files for both cgroup v1 and v2 under
> CONFIG_GROUP_SCHED_BANDWIDTH.
>
> - Update tg_bandwidth() to fetch configuration parameters from fair if
> CONFIG_CFS_BANDWIDTH, SCX otherwise.
>
> - Update tg_set_bandwidth() to update the parameters for both fair and SCX.
>
> - Add bandwidth control parameters to struct scx_cgroup_init_args.
>
> - Add sched_ext_ops.cgroup_set_bandwidth() which is invoked on bandwidth
> control parameter updates.
>
> - Update scx_qmap and maximal selftest to test the new feature.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Applied 1-2 to sched_ext/for-6.17.

Thanks.

--
tejun