Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756502AbeAJOcp (ORCPT + 1 other); Wed, 10 Jan 2018 09:32:45 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:58654 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660AbeAJOcn (ORCPT ); Wed, 10 Jan 2018 09:32:43 -0500 Date: Wed, 10 Jan 2018 06:32:21 -0800 From: Roman Gushchin To: Tejun Heo CC: "Michael Kerrisk (man-pages)" , "Serge E. Hallyn" , linux-man , lkml , "open list:CONTROL GROUP (CGROUP)" Subject: Re: cgroups(7): documenting /sys/kernel/cgroup files Message-ID: <20180110143202.GA12804@castle.DHCP.thefacebook.com> References: <20180110124407.GA26913@castle.DHCP.thefacebook.com> <20180110140239.GX3668920@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180110140239.GX3668920@devbig577.frc2.facebook.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [2620:10d:c092:200::1:9552] X-ClientProxiedBy: DB6PR0201CA0015.eurprd02.prod.outlook.com (2603:10a6:4:3f::25) To BL2PR15MB1074.namprd15.prod.outlook.com (2603:10b6:201:17::8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c551b285-42e0-4f6b-af92-08d55836fbb9 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020);SRVR:BL2PR15MB1074; X-Microsoft-Exchange-Diagnostics: 1;BL2PR15MB1074;3:GOvPywXCmCiCaiMqmkGgOCDS1nevvClrFlBh3FJ7ccDSnOvrvNxxo2omQ0X2/MUhvGIcdPxz31U5Wgn+LH1eIeyZBUVp46UtHw3eeAfzxBEzXCbo2fu2y6YDtjYnzqeB0ANyR6JMI8Oni6vnXOdR23kpM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/R8AoyTVzyZMKKuPoiWCt6pCDfZJbdQl01jfveSTDg+U+t46V2OnkUhI6scn+oMtHyv0Jf90zSI2Znmp/BjwS6A/QsEr/2iatwcUKiSbVeL94+MqX55r93OWdU0npQIxEmftv6wfUZVsj+yTKMx7jc2X7CyKrnKKj08KKVfmDYzHAu6qwwbtYQEPT774FvKN;4:pd2gt9Vytfi+pY+kcaZIcFXSO6qvseSzkzb3CzdNSf82BkuI8I6l8rNUNsdxW2hVd01epGuBWGOH93T3Jg+1PJNVrgJxPN+HoXijXU2kh2EyTFi8H19qIpxEVdvYuTfZJ2ZsgWpt1jtccA9J9sUK7iV4oVAm/6nsLj4tewSUNZWnJ1hD8MmNy3uTYyqRlsk19u0WyDCSW3ciGfYEm/qWBavpdIuLw4W1/7df4DwHIbfDNadmDDwa17+OKORaFQh+ABgWwffKJdcSSKvlcAX94w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231023)(11241501184)(944501075)(6041268)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:BL2PR15MB1074;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:BL2PR15MB1074; X-Forefront-PRVS: 0548586081 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(39380400002)(376002)(366004)(39860400002)(396003)(346002)(24454002)(189003)(199004)(6666003)(5660300001)(16586007)(106356001)(86362001)(53936002)(2906002)(316002)(81156014)(2950100002)(47776003)(6916009)(50466002)(58126008)(9686003)(54906003)(105586002)(55016002)(97736004)(93886005)(7696005)(478600001)(52396003)(76176011)(229853002)(39060400002)(8676002)(83506002)(386003)(6506007)(345774005)(6116002)(23726003)(6246003)(25786009)(7736002)(68736007)(52116002)(305945005)(8936002)(81166006)(33656002)(1076002)(4326008)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR15MB1074;H:castle.DHCP.thefacebook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR15MB1074;23:Ga7YKUF9hBOIKXsotabFOL4TKQ/FlDVYN0dCPmMG+?= =?us-ascii?Q?vy9j4k8VCyQDC59dwPm+VlGfLVLdzyAVCopcyWDwTwTuTGL/d/RICxncA1Qa?= =?us-ascii?Q?44/G4cU7zaLAr3FX+/4pd5D/Soku6E+SGxDe7KY3Hqa7jjbF2b2E3ZS/SAMO?= =?us-ascii?Q?ogHS/LpmxRmQx4s/l5sXw9TLgrrccibVkoJrZQb9B2OEqhayXSdfS5GCwDn/?= =?us-ascii?Q?cgDZDjW3NjJnqdvrSmPKXiutHjffMyJtioQZMow/HucYpaADijxo254Q47VA?= =?us-ascii?Q?O+DCo1EGb0lRfZVW1omaRCMdNfqkeVvLXascrMyd9c7TqlfDFcwmmAKmUzf2?= =?us-ascii?Q?1A5b3gUUEkMDDpfr4jd/VcDU7pbaX501nMtY5QyprB5R8kkENiWtiyUQfv+b?= =?us-ascii?Q?KBKtxyGaXJb53uUXJBSz8dXLYOrnAyxhtzvisoBKhu5TTfo5rZa7XbO3I2fl?= =?us-ascii?Q?TbnXpcHlVIs/3YcP9hwY1UsUmU54XaNv3mUlnMKwlMnVcoNmhstyjaiS4q+F?= =?us-ascii?Q?0LrXsvYlsQAW2nd68gJDn1qQxZLka/TEh1SVDfCBbB4rUWO4WPHg5JVJSjf1?= =?us-ascii?Q?RDbT0RD0mT44c/VTB6QH7itDbDyIrpRl25tH4wAFmzr+NqJP0jFRFvbHHOyC?= =?us-ascii?Q?uslwOdtaPa9SzzfIQb4CokdOsTMTlsGLGx8K55VynOaiVaSnWZ/lmMbeaPkJ?= =?us-ascii?Q?TOIVxwesc+Lpl4szVjNgQvjIGbq1J/nSf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r3SrsSE1E8R83qq0N1j08yhixFPrlfVzx6nYpIfAtl6Md6nC032x6Oz4rjdZpPuzj50vUBGPQFFPD2ouSGaMf3AY5g1AKLkzKzBN71LQ1ej2Y/vcn35ZlE0YdPWXPQbjm/ZdAUrdLnBK0xHluJu2Eui/xJeCN03wYq/bLo=;24:+wFmPg4HxjYsJ35vddIkukO/CVDLdtxbJcdaMAQ43v4R7+MtBmFmqzY6I+qGCsJ/k2rVCKGchafbhtwe3iC5gZWQkZEJSJJ9NUna8QrOg9U=;7:gIscYNU1mujvyNny4eNE65+yMatQp7BINluz1XtoOFbzzwLxNjcJSHh7VXqMZ/Al5TR+oT6bm650akb+5r+XIWE7PR1BG50Q34cvx8VNlwi+TLt4dPjJPboMG9lXL5UVTWwf7x/AC4NHKDHXNcxwNhGaKEhvbuth1XpS5DdgOs84IiXqjbppiSwAZ2MQW12/PJ8mDtc6ZzEVSFsnFHdA51W0h05odrhW4ovOxc/1ViIjtdDLQppUp32XJt1joXUo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BL2PR15MB1074;20:r3OP7VtPpeXkLOms4XnC0yB2B4CFG00X1ToTl5pUXHN5t2wZVHTMpTQFopS4qjiiO4LkW6ang5fS3xRsxML01b4kDB5c1D9qeB85mCMLM+sXe8croWyKCohyANDBJoScEjuBbm7IsmK5uMOG1oJ8tu6nqTIxBYfWCg4OawHdbFg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2018 14:32:30.8458 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c551b285-42e0-4f6b-af92-08d55836fbb9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR15MB1074 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-10_08:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 10, 2018 at 06:02:39AM -0800, Tejun Heo wrote: > Hello, > > On Wed, Jan 10, 2018 at 04:44:14AM -0800, Roman Gushchin wrote: > > cgroup.threads is not listed because it's not delegatable (doesn't have > > CFTYPE_NS_DELEGATABLE flag set). I don't know if it was intended or just > > an accident (I believe the latter). > > So, thread mode isn't delegatble. Marking a cgroup as threaded turns > that subtree threaded and join the parent's domain, so we can't allow > delegation roots to be turned threaded - just like we can't mark the > root cgroup threaded, and I'm not really not sure what it means to > delegate a portion of threaded subtree. Thank you for the clarification! Roman