Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753990AbeAIL2q (ORCPT + 1 other); Tue, 9 Jan 2018 06:28:46 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:58522 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751303AbeAIL2n (ORCPT ); Tue, 9 Jan 2018 06:28:43 -0500 Date: Tue, 9 Jan 2018 11:28:18 +0000 From: Roman Gushchin To: "Michael Kerrisk (man-pages)" CC: "Serge E. Hallyn" , Tejun Heo , linux-man , lkml , Subject: Re: cgroups(7): documenting /sys/kernel/cgroup files Message-ID: <20180109112811.GA31373@castle.DHCP.thefacebook.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [2620:10d:c092:200::1:f8d9] X-ClientProxiedBy: VI1PR07CA0159.eurprd07.prod.outlook.com (2603:10a6:802:16::46) To CO1PR15MB1078.namprd15.prod.outlook.com (2a01:111:e400:7b66::8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 77a24949-1ec5-4ab5-389d-08d557541dfa X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:CO1PR15MB1078; X-Microsoft-Exchange-Diagnostics: 1;CO1PR15MB1078;3:xAE3ljGilcClAn5I6YBNmDSn1rhxltoBdbJ1c3wZeudiI3QTQbxB+rJ18Y7veee8oidaZWLj2fGNwJOXjVMXDKpqKz0BSMy/rb5Nh9iUmwVGZXMdEhOJZeb2UsvS9WkoB97mLUM6E6AYuP7pyK5q9o5RNNmEYml3758An34oDFF2s8sA+yEFKwZ8CaSHgnHHbsFsU7V3wll3x5QroJglsyYQtt0O7YrM/2F3mIRqf+6D5VHSMscLARHMIMXUjINf;25:BtYOlbKl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ZPXzEaT892cBjWQBXFZv5KHpKhNJU3DtlUB1Rtn+faN28he16nDg9uYanE3IGPU4sZXJ2rWF5CXQd;4:EjFVDErxGzkcv6iajGqvnnyNh/uDx78BV4LGJ/gf7AzoI+ThYh1IY63k5M5SJSbuNLu4hRfs38VAHazkHTS1pzjnjRj5BYghGLic27yV7W+29OJ2w7FKbX3JIzwq5AJRGD+t6b3wlhtJ8zcULrIkKpfD9mRNWLZaNZPK2WuSawwooSWtKAMK8LgpotAkJrwTZrE4Ph5cdtt1G7eOH/4vefvmQ+nZAhP7ilIsKdt/xwDpak5qPAzNbK0FjzQMLQug5OexalJTTfJojf306sDe/kAvnyFd5999NQKfrSZ9mIhxROSRKP1lSOXLPooRjp7uXbbjyZQHt5sQsu4TSt352udJvzgu6bsHZaYIA6u/RiwucTzDc5WGAIHBIuDIPR3ge7YKz84Hl6S69RZoJ5s17BDU+1ba1aptQkWNGnQQhcc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(60795455431006)(278428928389397)(788757137089)(67672495146484); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231023)(11241501184)(944501075)(6041268)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CO1PR15MB1078;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:CO1PR15MB1078; X-Forefront-PRVS: 0547116B72 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(39380400002)(376002)(39860400002)(396003)(346002)(366004)(189003)(199004)(24454002)(2906002)(478600001)(97736004)(2950100002)(305945005)(6916009)(7736002)(33656002)(52116002)(5660300001)(7696005)(6116002)(53936002)(316002)(25786009)(6666003)(23726003)(52396003)(50466002)(16586007)(76176011)(8936002)(68736007)(4326008)(86362001)(81156014)(6246003)(54906003)(58126008)(106356001)(39060400002)(386003)(55016002)(9686003)(8676002)(47776003)(6506007)(81166006)(1076002)(105586002)(83506002)(229853002)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:CO1PR15MB1078;H:castle.DHCP.thefacebook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:3;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO1PR15MB1078;23:5Uex3errZ1MZjjlWmxt94AceJPsvzPdbtybBPFXgg?= =?us-ascii?Q?hruesHEv0+gCHDcC1kRmjQiijtAj1+wvU+VsjKLEYA9YBktrsCznWkgslvKv?= =?us-ascii?Q?bwOvTlz94PgEJCiA/MOdQVGQklJvJ/iYgV36WeKnAUkrkOG3ij0Mobr1ul6r?= =?us-ascii?Q?1AZa/mo5U02b9uiBGDEGT9dXk2kQXdUGk6CejatnkBHQwdGQxLdHPqBcEL7J?= =?us-ascii?Q?uS21r7TOeTQUveB39MxhYtRhFoW7ppd2I9OevW+0EaYu9Y52cIYAIrInzY9m?= =?us-ascii?Q?/eNeZohf8X4gVr8NqnD3YsikbfDjGLwnCopZlunH+A04cW0uY/by/+gBEyqg?= =?us-ascii?Q?KKpd2xKm70OH8KtQ0vK4dFCyJ4QFQTy6a74V5oebB/HQLf0t+UISpIE9fjRx?= =?us-ascii?Q?VSfgvSGumaW31FxZhAD6iW9BKIabRbKxuOCTHe4AmjKpwKw79EuhCWrG0mvu?= =?us-ascii?Q?uaOSwjHJl/UWd2PCIXUarnXXcrx2kFkN8iBoPOl0Sx71xXrInMoeRM4ZZSpt?= =?us-ascii?Q?mgJfQh6DlQ+Jy0Ob9Cca6zYJluZZ+1+hcRVx0pLiOfKA4Fu6II42sSA3pxZH?= =?us-ascii?Q?QEMatITa67UQLG662Yh0zNGTTT9iubqZPKUc1jNTM145Vb0ECRRDkNIi14ZZ?= =?us-ascii?Q?PAH+htdS24MdN8eqjyDpjTInXyv3zJEpZQVi/sR/VmbvKPg7L1JjqbkCxkgG?= =?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DxHM8ZEIiNKSjYqvL89CpUDcWExV0uQnVwzu6gVDQ2TYe8zfgNoK0T3x3A0VGkZC0rPvQqA/3411IbNhXl/73liTCxsp9P7mbLednr73xvwbbMs3jMc4wrD0uNZRIMU3d17GbO8TLCGPEj9K4LRIy392uOBItMe4WOr2OEc=;24:IVdgWeYMOPN2uvc2iGJ/+JcSYPMhR1N/6vIydWNM7zHXYWENkeM1YctwzfEmGx9qJ3WYVmCJCXFzYBX1aUkmJPIl+qvF2tcOBEUAy4C4aBA=;7:TZFsbIZ8LvlyLWSTzXwx0sAP4i7HjPNBjNBoHDJsiITfk039EpUFfDjnU5HWtDY0alhW5+16m6EVojwNdveNAi27snWcprwHMWeQg/cbv2FgXZra78x6++Gh8barOe6+bQJPDUya8WmqRSSyqhvZ+gdJbGJT9dpUpfDjdP/V1t6mmficIU9xFaUdhH/kXbHn65D2M3d6BZi+LNy0KyyCBQ1CHKAgIORnqpw6vfXqttHuULsFfHUU9++Em6p9evNj SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CO1PR15MB1078;20:ARRYn6OS/Mt3TVunAhjsddgc7Mj3VCXqLP6utWTqKkQRalenCjTalQxbeTFNYUtwe6NdrmjXYiVZvg91u7ujkMy5sbwqaMiEAeaE4yrZh1Er+hfOpZ43B3nKkARPU++XPhXHenI4TE7AskDLKeRCZJ4YCzl8J/7PRZoyIhSZNKQ= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2018 11:28:31.8192 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 77a24949-1ec5-4ab5-389d-08d557541dfa X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR15MB1078 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-09_06:,, 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: Hello, Michael! Overall looks good to me, one small nit below. On Mon, Jan 08, 2018 at 10:11:43PM +0100, Michael Kerrisk (man-pages) wrote: > Hello Roman, > > I wrote cgroups(7) text below to document the files added by you in > Linux 4.15. Could you let me know if the following text is okay please: > > /sys/kernel/cgroup files > /sys/kernel/cgroup/delegate (since Linux 4.15) > This file exports a list of the cgroups v2 files (one per > line) that are delegatable (i.e., whose ownership should be > changed to the user ID of the delegatee). In the future, > the set of delegatable files may change or grow, and this > file provides a way for the kernel to inform user-space > applications of which files must be delegated. As at Linux > 4.15, one sees the following when inspecting this file: > > $ cat /sys/kernel/cgroup/delegate > cgroup.procs > cgroup.subtree_control > > /sys/kernel/cgroup/features (since Linux 4.15) > Over time, the set of cgroups v2 features that are provided > by the kernel may change or grow, or some features may not > be enabled by default. This file provides a way for user- > space applications to discover what features the running > kernel supports or has enabled. Features are listed one ^^ I would replace "or" with "and" here. Please, feel free to add Reviewed-by: Roman Gushchin Thank you! Roman