From: Tejun Heo Subject: Re: [PATCH v11 7/9] cpuset: Expose cpus.effective and mems.effective on cgroup v2 root Date: Thu, 19 Jul 2018 09:52:01 -0700 Message-ID: <20180719165201.GU72677@devbig577.frc2.facebook.com> References: <1529825440-9574-1-git-send-email-longman@redhat.com> <1529825440-9574-8-git-send-email-longman@redhat.com> <20180702165322.GI533219@devbig577.frc2.facebook.com> <20180703155823.GS533219@devbig577.frc2.facebook.com> <20180719135224.GE2494@hirez.programming.kicks-ass.net> <1107494a-9667-df58-dcac-9366e969dc3a@redhat.com> <20180719153045.GT72677@devbig577.frc2.facebook.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=S11QxldGb2rueyxaC44wods7Mrexh/qBlnMNZmhzCsE=; b=d3I+R6/dVKJ/ByZS3i5E/MQVNNXGPhHTCGua0IYNTSIDDusgYui+slnnSmN3+H/SPU kHqRNrcKKUs3FAbLr9L8trLadP+IgJFvlE+M5ji1s7HOxjL8QCcetLrssg2qEYzg3Moz lG6+dpj96Qj4jSHkspN3M57Yhh1Qom5uauTlrCt7pz80Zo/h9cPKRj87vbePV8cTBx2d 9zOkqYh118nmtn91wxo0yNlqhq2pE+vHRdnSerYMs0I1MvLhhV0glNffOTWwG4JH4AsN F6fJ4FJkvieSR5xqQChUN0/mS30fDvZj2kQgl0YueVLxWguforOnaV+dkFEE5bX3LDh2 YOaA== Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Waiman Long Cc: Peter Zijlstra , Li Zefan , Johannes Weiner , Ingo Molnar , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kernel-team@fb.com, pjt@google.com, luto@amacapital.net, Mike Galbraith , torvalds@linux-foundation.org, Roman Gushchin , Juri Lelli , Patrick Bellasi Hello, On Thu, Jul 19, 2018 at 11:52:46AM -0400, Waiman Long wrote: > BTW, the way the partition is currently implemented right now is that a > child cannot be a partition root unless its parent is a partition root > itself. That is to avoid turning on partition to affect ancestors > further up the hierarchy than just the parent. So in the case of a > container, it cannot allocate sub-partitions underneath it unless it is > a partition itself. Will that solve your concern? Hmm... so a given ancestor must be able to both 1. control which cpus are moved into a partition in all of its subtree. 2. take away any given cpu from ist subtree. Right now, I don't think it's achieving either, right? Thanks. -- tejun