From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752334AbeAJWYR (ORCPT + 1 other); Wed, 10 Jan 2018 17:24:17 -0500 Received: from mail-pg0-f50.google.com ([74.125.83.50]:38911 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782AbeAJWYN (ORCPT ); Wed, 10 Jan 2018 17:24:13 -0500 X-Google-Smtp-Source: ACJfBou52fa9fNBXCNTm6UCIMlApi1NdS/s/IpDkvJGBlid0DwmlbX7kk69o+n++tIggIv82vYK2UQ== Cc: mtk.manpages@gmail.com, "Serge E. Hallyn" , linux-man , lkml , cgroups@vger.kernel.org, Roman Gushchin Subject: Re: cgroups(7): documenting cgroups v2 delegation To: Tejun Heo References: <1ce0a885-94fb-7480-7180-7b873c95b1bb@gmail.com> <20180108141450.GP3668920@devbig577.frc2.facebook.com> <6c9fdaee-739f-164d-d04e-fb3a7319db90@gmail.com> <20180109210722.GS3668920@devbig577.frc2.facebook.com> <672cd179-31be-e03a-f9ff-ce59b76e23e2@gmail.com> <20180110142640.GB3668920@devbig577.frc2.facebook.com> <655118da-6d58-8f02-7367-77c10a3c16ea@gmail.com> <20180110193907.GC3460072@devbig577.frc2.facebook.com> <20180110221418.GF3460072@devbig577.frc2.facebook.com> From: "Michael Kerrisk (man-pages)" Message-ID: <5207cfc8-5525-b932-baee-6b0160886178@gmail.com> Date: Wed, 10 Jan 2018 23:24:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180110221418.GF3460072@devbig577.frc2.facebook.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hello Tejun, On 01/10/2018 11:14 PM, Tejun Heo wrote: > Hello, Michael. > > On Wed, Jan 10, 2018 at 11:01:11PM +0100, Michael Kerrisk (man-pages) wrote: >>>>>> Can you please confirm that it's only necessary to delegate this file >>>>>> if we are delegating a threaded subtree? >>>>> >>>>> Replied on the other thread. The file isn't delegatable as far as I >>>>> can tell. >>>> >>>> So, following on from the discussion in the other thread, my >>>> question above still stands. >>> >>> Oh, I frankly haven't thought about delegating a threaded subtree. >> >> I'm still confused. cgroup-v2.txt documents the possibility. You >> wrote that text. We just had a conversation in another thread about the >> fact that cgroup.threads is delegatable. You must have thought at >> least a little about this? > > Oh, I'm probably mixing up two things. > > 1. When delegating, cgroup.threads should be delegated. Doing that > selectively doesn't achieve anything meaningful. Understood. But surely delegating cgroup.threads is effectively meaningless when delegating a "domain" cgroup tree? (Obviously it's not harmful to delegate the the cgroup.threads file in this case; it's just not useful to do so.) > 2. I haven't thought much about delegating a sub-protion of a threaded > subtree. Everything works the same way. I just can't think of a > use case. Ahhh -- now I see what you meant before. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/