Re: [PATCH v2] sched_ext: allow ops.cgroup_set_bandwidth() to be sleepable
From: Tejun Heo
Date: Tue Aug 18 2026 - 14:42:33 EST
Hello,
On Wed, Aug 19, 2026 at 01:04:29AM +0900, Changwoo Min wrote:
> ops.cgroup_set_bandwidth() is delivered from scx_group_set_bandwidth(),
> which runs from the cpu.max cgroup interface write path (tg_set_bandwidth())
> in process context. scx_group_set_bandwidth() holds
> percpu_down_read(&scx_cgroup_ops_rwsem), whose read side may sleep.
> The call site is therefore sleepable, like ops.cgroup_init().
Applied to sched_ext/for-7.3-fixes with the subject capitalization fixed.
Thanks.
--
tejun