Re: [RFC PATCH v7 00/29] Hierarchical Constant Bandwidth Server

From: Juri Lelli

Date: Thu Nov 26 2026 - 03:02:22 EST


On 26/11/26 08:58, luca abeni wrote:
> On Thu, 26 Nov 2026 08:49:07 +0100
> Juri Lelli <juri.lelli@xxxxxxxxxx> wrote:
>
> > On 26/11/26 08:43, luca abeni wrote:
> > > Hi Juri,
> > >
> > > On Thu, 26 Nov 2026 08:25:50 +0100
> > > Juri Lelli <juri.lelli@xxxxxxxxxx> wrote:
> > > [...]
> > > > Just for my own (hopefully) better understanding, I tried to come
> > > > up with a setup that uses a cgroup with entries on some CPUs and
> > > > "max" on others, to reason about it more concretely. This is an
> > > > illustration, not a deployment I actually know of:
> > > [...]
> > >
> > > Thanks for the example, it really clarifies things a lot for me!
> > > I am going to look at it in more details, but, just to check if I
> > > understand correctly: the "trick" here is that "P" does not contain
> > > any RT thread, and all the RT threads are either in "P/noncrit" or
> > > "P/crit", right?
> >
> > It would make sense to me. Also, I seem to remember we said it was
> > actually a requirement at some point (threads only allowed in leaf
> > nodes), but I might be wrong.
>
> Yes, this was the original design...
> But I think the removal of the "threads allowed only in leaf nodes"
> constraint was requested in previous discussion (I do not remember the
> details, so correct me if I am wrong)

OK, it would still sound like a sensible user decision to me (how to use
properly a flexible interface that also allows you to do not very sensible
things with it :).