]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
docs/scheduler/sched-bwc: note/link cgroup v2
authorKir Kolyshkin <kolyshkin@gmail.com>
Wed, 20 Jan 2021 00:18:19 +0000 (16:18 -0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 21 Jan 2021 18:41:03 +0000 (11:41 -0700)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20210120001824.385168-6-kolyshkin@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/cgroup-v2.rst
Documentation/scheduler/sched-bwc.rst

index e0f6ff7cfa933d23a410e8da6ae0138612ed1d70..b553624548869e4ff5c605a2f0e49ad779cbe2fa 100644 (file)
@@ -1,3 +1,5 @@
+.. _cgroup-v2:
+
 ================
 Control Group v2
 ================
@@ -954,6 +956,8 @@ All cgroup core files are prefixed with "cgroup."
 Controllers
 ===========
 
+.. _cgroup-v2-cpu:
+
 CPU
 ---
 
index a44860d33ffc2bf48ac4ab968c32f0bb55cae6e4..845eee659199c23ac9a5e0f6dc9b9e757718af69 100644 (file)
@@ -26,6 +26,11 @@ Management
 ----------
 Quota and period are managed within the cpu subsystem via cgroupfs.
 
+.. note::
+   The cgroupfs files described in this section are only applicable
+   to cgroup v1. For cgroup v2, see
+   :ref:`Documentation/admin-guide/cgroupv2.rst <cgroup-v2-cpu>`.
+
 - cpu.cfs_quota_us: the total available run-time within a period (in
   microseconds)
 - cpu.cfs_period_us: the length of a period (in microseconds)