Re: [PATCH v2] cgroup/cpuset: Clarify the delegation rules of partition
From: Michal Koutný
Date: Thu Apr 30 2026 - 15:46:43 EST
On Tue, Apr 28, 2026 at 02:09:35PM -0400, Waiman Long <longman@xxxxxxxxxx> wrote:
> Creation of remote partition is currently not allowed without privilege.
> On the other hand, creation of local partition is allowed without
> privilege as long as its parent is also a partition root.
>
> The current setup allows a delegator to delegate an exclusive set of
> CPUs to the delegatee by making the root of a delegated sub-hierarchy
> a partition root. The delegatee is then allowed to create a local
> sub-partition underneath it if necessary. Creation of a remote
> partition is not currently allowed across delegation boundary without
> privilege. Clarify the partition delegation rules by stating the current
> behavior in cgroup-v2.rst file.
>
> Signed-off-by: Waiman Long <longman@xxxxxxxxxx>
> ---
> Documentation/admin-guide/cgroup-v2.rst | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
After Tejun pointed out that other generic paragraph:
| This means that the controller interface files - anything which
| doesn't start with "cgroup." are owned by the parent rather than the
| cgroup itself.
I think the extra words may only increase confusion (and constrain
generic changes). So it was a good exercise but nothing needs to be
necessarily changed regarding this behaivor or its docs.
Michal
Attachment:
signature.asc
Description: PGP signature