Re: [RFC PATCH v7 00/29] Hierarchical Constant Bandwidth Server
From: Tejun Heo
Date: Sat Nov 28 2026 - 02:22:35 EST
Hello, Juri.
On Fri, Nov 27, 2026 at 03:35:54PM +0100, Juri Lelli wrote:
...
> Either the entry's bandwidth
> stays claimed while its CPU is unreachable, so cpuset changes never
> fail but that bandwidth sits unused, or it's released and claimed again
> when the CPU becomes reachable, which means growing a cpuset can fail
> because of the cpu controller. Tejun, Peter, does either work for both
> of you?
My preference is the former. I'd like to avoid intertwining the two
controllers as much as possible, so an entry would keep its bandwidth
claimed whatever cpuset says and a cpuset change wouldn't fail because
of cpu.rt.max.
Cross-controller operations are possible and useful on cgroup2, e.g.
between memcg and blkcg, but I think it's best to keep the interfaces
as orthogonal as possible. Interlocking configurations across
controllers gets too complicated and confusing in general, and
especially so given how limited the failure information we can
communicate to userspace is.
Thanks.
--
tejun