Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3272882iog; Mon, 27 Jun 2022 12:41:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ujs1THkjGtJTCQBwXCtSSCzTm+5FE0czsksEuUfKBQyE3ps8i62vCWTIPovpb6SFxu3cvN X-Received: by 2002:a17:906:51de:b0:722:e9a7:83de with SMTP id v30-20020a17090651de00b00722e9a783demr14501869ejk.130.1656358907120; Mon, 27 Jun 2022 12:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656358907; cv=none; d=google.com; s=arc-20160816; b=wHrIEKV3WxkpD/lEEZYH/h6S32JuyGPxh3DFngdFMG3njNrlmQIQoD4hYIRDD8Xqn3 TA/XrtqvWf5+Qxbl5mFKKVStsHz07KlQ6CTtzAHZOM1n6oNMDqWv7cjViSt0K9E22T98 9vLGCH+ZXv9WCsAHmsbg0+JYvQWkAVHqUCd1h9r8JxvqMpe0M3Cls9te2HAoWYunnf3Y O5HSdB9l6aG4s3yLO/0zZboyBCTdZ2H2KHx8mBvd6m68XJx3d/Pb2WcZ8NMigft8JSJe Nq55BFHebH8mmHhyUbf1vYucwA4rOoRP/DFLtjORY4kuOHTSP/T6q8qdTGoQdSB8Y7H4 iPAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=/TJYBcpsxpHM1dgljke9KHv7g4SupUF3o95Sw1aZ2ck=; b=cDdNEQs3aAG/v4QI1FhZyaO39jsEZyVuUXmMC6/ZrasumU4y4V4V00nzfiFzGTyxmT KTyLqlHjUz58ZWLSN4wghFrMxjkZgyMKFqxlZ1AwGkcUbOa2j8GIdaGg1zL1vEpsNhIO xwvwte/uTbmja7OEusXxoc7w0MxmqPxOG/TYVTfVuRyk36VYSty3lTYuRDdg2wuKCecw gAO4E77yKS7geEIbJPDcLGYIxaPhuA8foxCY2xO7g1dDI52XjM7aFCUd/AKmFi+9Z1ok H6dquF5NExCJ5GrYD3+o+JxVrgyHTwqWdO5CWeAxOtAjNFEj3seuv0CMrMunAoAGE5Pa 8afQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IUrCqExb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u23-20020a056402065700b004357fc49fd6si12609445edx.113.2022.06.27.12.41.22; Mon, 27 Jun 2022 12:41:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IUrCqExb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240368AbiF0TKf (ORCPT + 99 others); Mon, 27 Jun 2022 15:10:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240365AbiF0TKd (ORCPT ); Mon, 27 Jun 2022 15:10:33 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A003B5597; Mon, 27 Jun 2022 12:10:32 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id n16-20020a17090ade9000b001ed15b37424so10310355pjv.3; Mon, 27 Jun 2022 12:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=/TJYBcpsxpHM1dgljke9KHv7g4SupUF3o95Sw1aZ2ck=; b=IUrCqExbfNSEqdj1+aclN5lVCX6iP7eBPxz3UnA29I42X7w8qUJC0d2QFa6lECfvHS lTMdErf6FACs1/hyp38L86tGz+o787pLf2VIheb7iIKAGcJlc9+ImxpPc6dZHKPr2Lnd 297Swn9MhvVXOe5pLyL9hyobmlUtJUylIgtVuWFNUy7M/cvy0Ei9a+7/6RNLP/vuaWpm qPXLfyJ7VkpxIpiy0dSvQGEwS2wO1IikzptCMphwHEF+yGlRha2BCj6vVKJloizO0jzV wtWURRXun0tZKmoLu2aju0/0SznVwcWbO33ww6x17xU68Xd6vEBZdnna3JSmuqObPHbN 196g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=/TJYBcpsxpHM1dgljke9KHv7g4SupUF3o95Sw1aZ2ck=; b=IMOxxCH+3YW5q69QljDGHjGdATj/9ipfgW8YCq9jPRqEyKqBRh2RZXFh4D7ZsUEVfT mzyE2c4HHjZRyqIbUedzt1hnDzWumsvZ+nLG3+Sk/z0xcWNMzal8k1FLfXDcQnoHeIKl ILWXqMi+/qF5Wbcni0hFrj1L/19CjIzt39lLEcCfP8PfC01hO3DDcPajvIXh4/pDcDga 6EsNtsdJOaojsCFXBewDrTw4w8ViVOiRXUqN/RAi5JStChLWQHyqii4df9+DRv5dzjMh LKUvfXKhMiBz2PyciB+RSaywmCZCkwZ6DeoS/bqambujl3RFc+c8KYEAbumVLkh3K+qX uxqQ== X-Gm-Message-State: AJIora91OBj6bihYl7CPX5A7XSvvfFZyAdfauZt6Awu7PWCc9g02kP2J 0C8f7S8c2PRRSttO0AzNRnY= X-Received: by 2002:a17:902:bc4c:b0:16a:4849:ddbe with SMTP id t12-20020a170902bc4c00b0016a4849ddbemr816273plz.25.1656357031911; Mon, 27 Jun 2022 12:10:31 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:4120]) by smtp.gmail.com with ESMTPSA id t5-20020a17090aae0500b001ec4f258028sm7805995pjq.55.2022.06.27.12.10.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 12:10:31 -0700 (PDT) Sender: Tejun Heo Date: Tue, 28 Jun 2022 04:10:29 +0900 From: Tejun Heo To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: Waiman Long , Zefan Li , Johannes Weiner , Jonathan Corbet , Shuah Khan , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Andrew Morton , Roman Gushchin , Phil Auld , Peter Zijlstra , Juri Lelli , Frederic Weisbecker , Marcelo Tosatti Subject: Re: [PATCH v11 7/8] cgroup/cpuset: Update description of cpuset.cpus.partition in cgroup-v2.rst Message-ID: References: <20220510153413.400020-1-longman@redhat.com> <20220510153413.400020-8-longman@redhat.com> <404171dc-0da3-21f2-5003-9718f875e967@redhat.com> <20220613142452.GB6910@blackbody.suse.cz> <20220613175548.GB21665@blackbody.suse.cz> <20220614115345.GA6771@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220614115345.GA6771@blackbody.suse.cz> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Jun 14, 2022 at 01:53:45PM +0200, Michal Koutn? wrote: > On Mon, Jun 13, 2022 at 08:00:56AM -1000, Tejun Heo wrote: > > Yeah, I don't know why this part is different from any other errors that the > > parent can make. > > It's different because a write to parent's cpuset.cpus is independent of > whether cpuset.cpus of its children are exclusive or not. > In an extreme case the children may be non-exclusive > > parent cpuset.cpus=0-3 // valid partition > `- child_1 cpuset.cpus=0-1 // invalid partition > `- child_2 cpuset.cpus=1-2 // invalid partition > > but the parent can still be a valid partition (thanks to cpu no. 3 in > the example above). > > Do I miss anything? What I'm trying to say is that cpuset.cpus of child_1 and child_2 are owned by the parent, so a feature which blocks siblings from intersecting each other doesn't make whole lot of sense because all those files are under the control of the parent who would have the power to enable or disable the restrition anyway. The partition mode file is owned by the parent too, right? So, all these are to be configured by the same entity and the errors can be reported the same way, no? Thanks. -- tejun