From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF0AA381AE9 for ; Thu, 30 Apr 2026 19:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777578911; cv=none; b=iCo7AD132yjlgjnHmnosztvV/F6YC9g//tjGk/8fBBwr6DhBIUvxTG2NEBn+PE7z6yAV551PzxP/L95DfthhdFbKnxdtVAIvGHM1+j408wunlj9an6j3l4ReKcR4pHzcSh5nTXUaw8uhax4m01J76KBQMTIeQ/276uvgoC9mbfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777578911; c=relaxed/simple; bh=82ndRVMvU5Rm3L4xkqPoIhUvLJsOUbOYTeW/5e1ZQhE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Cxy2JO98lV/4tjCOSYQbtAD1COC6f/g8fck3W1yt4LV9SxB1/vpS3UCv3RAn676oWxBZn1z0fB2doHbN/bgTRWZeSZl5qhIx7y/MWrx0mwjCGNPZ2Rv7NYZp3jxRCjC982zfLsoeOW7LoB5esr65p9xfe2lNqS8gcDyLgCFoCHA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=W6S39X4h; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="W6S39X4h" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777578907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qWmrmHXW52+KOjBUKSQQzZ6oTYKJGrDyN5SgtJWF5RU=; b=W6S39X4hNHHFE6ej5F89Lnlpq0s0dLj4d00trxZ9SGKybSdzsz0aRrjNI2TzqaTU239iEr rcLQ8Y6PQbTjY1dYjO1TRMuFRVl5Zy+f2SgMqN0pFOpzu9g9J3WBo2j+B6NVDcvW+9dOGR G7tWSgw+EmvIzLpJTE9OPsAL0AecQ0w= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-591-9PLioaVwMK2T8J5GbcaGuw-1; Thu, 30 Apr 2026 15:55:00 -0400 X-MC-Unique: 9PLioaVwMK2T8J5GbcaGuw-1 X-Mimecast-MFC-AGG-ID: 9PLioaVwMK2T8J5GbcaGuw_1777578898 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 84BCE1956059; Thu, 30 Apr 2026 19:54:58 +0000 (UTC) Received: from [10.22.65.186] (unknown [10.22.65.186]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A5F6030001BE; Thu, 30 Apr 2026 19:54:56 +0000 (UTC) Message-ID: Date: Thu, 30 Apr 2026 15:54:55 -0400 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] cgroup/cpuset: Clarify the delegation rules of partition To: =?UTF-8?Q?Michal_Koutn=C3=BD?= Cc: Chen Ridong , Tejun Heo , Johannes Weiner , Jonathan Corbet , Shuah Khan , cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Xie Maoyi References: <20260428180935.806284-1-longman@redhat.com> Content-Language: en-US From: Waiman Long In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 On 4/30/26 3:46 PM, Michal Koutný wrote: > On Tue, Apr 28, 2026 at 02:09:35PM -0400, Waiman Long 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 >> --- >> 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. That is fine. This doc change is optional and I agree that we may want more flexibility in case we change the behavior in the future. Cheers, Longman