Re: [PATCH] sched/ext: Implement cgroup_set_idle() callback

From: Tejun Heo

Date: Mon Oct 13 2025 - 14:57:01 EST


On Sat, Oct 11, 2025 at 03:16:51PM +0800, zhidao su wrote:
> From: zhidao su <suzhidao@xxxxxxxxxx>
>
> Implement the missing cgroup_set_idle() callback that was marked as a
> TODO. This allows BPF schedulers to be notified when a cgroup's idle
> state changes, enabling them to adjust their scheduling behavior
> accordingly.
>
> The implementation follows the same pattern as other cgroup callbacks
> like cgroup_set_weight() and cgroup_set_bandwidth(). It checks if the
> BPF scheduler has implemented the callback and invokes it with the
> appropriate parameters.
>
> Fixes a spelling error in the cgroup_set_bandwidth() documentation.
>
> Signed-off-by: zhidao su <soolaugust@xxxxxxxxx>

Applied to sched_ext/for-6.19.

Thanks.

--
tejun