]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Docs/admin-guide/cgroup-v2: drop stale misc interface file count
authorGuopeng Zhang <zhangguopeng@kylinos.cn>
Tue, 7 Jul 2026 10:21:46 +0000 (18:21 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 7 Jul 2026 22:26:23 +0000 (12:26 -1000)
The Miscellaneous controller documentation states it "provides 3 interface
files", but misc_cg_files[] actually registers six (max, current, peak,
capacity, events, events.local). Drop the stale count and let the file
list that follows speak for itself.

Signed-off-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/admin-guide/cgroup-v2.rst

index ce6741f78f4fff08d7ffbf8fe4009ec7a107bda7..7ce60fefc7adc47b0dc7eadb2e5ef584fa1c6ffa 100644 (file)
@@ -2934,7 +2934,8 @@ include/linux/misc_cgroup.h.
 Misc Interface Files
 ~~~~~~~~~~~~~~~~~~~~
 
-Miscellaneous controller provides 3 interface files. If two misc resources (res_a and res_b) are registered then:
+Miscellaneous controller provides the following interface files. If two misc
+resources (res_a and res_b) are registered then:
 
   misc.capacity
         A read-only flat-keyed file shown only in the root cgroup.  It shows