All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kir Kolyshkin <kolyshkin@gmail.com>
To: corbet@lwn.net
Cc: linux-doc@vger.kernel.org, cgroups@vger.kernel.org,
	Kir Kolyshkin <kolyshkin@gmail.com>
Subject: [PATCH 05/10] docs/scheduler/sched-bwc: note/link cgroup v2
Date: Tue, 19 Jan 2021 16:18:19 -0800	[thread overview]
Message-ID: <20210120001824.385168-6-kolyshkin@gmail.com> (raw)
In-Reply-To: <20210120001824.385168-1-kolyshkin@gmail.com>

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
 Documentation/admin-guide/cgroup-v2.rst | 4 ++++
 Documentation/scheduler/sched-bwc.rst   | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index e0f6ff7cfa93..b55362454886 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -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
 ---
 
diff --git a/Documentation/scheduler/sched-bwc.rst b/Documentation/scheduler/sched-bwc.rst
index dcec7440c222..963fde3993dc 100644
--- a/Documentation/scheduler/sched-bwc.rst
+++ b/Documentation/scheduler/sched-bwc.rst
@@ -27,6 +27,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)
-- 
2.29.2


WARNING: multiple messages have this Message-ID (diff)
From: Kir Kolyshkin <kolyshkin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: corbet-T1hC0tSOHrs@public.gmane.org
Cc: linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Kir Kolyshkin <kolyshkin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH 05/10] docs/scheduler/sched-bwc: note/link cgroup v2
Date: Tue, 19 Jan 2021 16:18:19 -0800	[thread overview]
Message-ID: <20210120001824.385168-6-kolyshkin@gmail.com> (raw)
In-Reply-To: <20210120001824.385168-1-kolyshkin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Signed-off-by: Kir Kolyshkin <kolyshkin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 Documentation/admin-guide/cgroup-v2.rst | 4 ++++
 Documentation/scheduler/sched-bwc.rst   | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index e0f6ff7cfa93..b55362454886 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -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
 ---
 
diff --git a/Documentation/scheduler/sched-bwc.rst b/Documentation/scheduler/sched-bwc.rst
index dcec7440c222..963fde3993dc 100644
--- a/Documentation/scheduler/sched-bwc.rst
+++ b/Documentation/scheduler/sched-bwc.rst
@@ -27,6 +27,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)
-- 
2.29.2


  parent reply	other threads:[~2021-01-20  0:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20  0:18 [PATCH 00/10] docs: cgroup nits and fixes Kir Kolyshkin
2021-01-20  0:18 ` Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 01/10] docs/scheduler/sched-bwc: formatting fix Kir Kolyshkin
2021-01-20  0:18   ` Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 02/10] docs/scheduler/sched-design-CFS: " Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 03/10] docs/scheduler/sched-bwc: fix note rendering Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 04/10] docs/scheduler/sched-bwc: add proper ref Kir Kolyshkin
2021-01-20  0:18   ` Kir Kolyshkin
2021-01-20 17:43   ` Jonathan Corbet
2021-01-20 17:43     ` Jonathan Corbet
2021-01-20  0:18 ` Kir Kolyshkin [this message]
2021-01-20  0:18   ` [PATCH 05/10] docs/scheduler/sched-bwc: note/link cgroup v2 Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 06/10] docs/admin-guide: cgroup-v2: typos and spaces Kir Kolyshkin
2021-01-20  0:18   ` Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 07/10] docs/admin-guide: cgroup-v2: fix cgroup.type rendering Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 08/10] doc/admin-guide/cgroup-v2: use tables Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 09/10] docs/admin-guide/cgroup-v2: nit Kir Kolyshkin
2021-01-20  0:18   ` Kir Kolyshkin
2021-01-20  0:18 ` [PATCH 10/10] docs/admin-guide/cgroup-v2: fix mount opt rendering Kir Kolyshkin
2021-01-20  0:18   ` Kir Kolyshkin
2021-01-20 16:43 ` [PATCH 00/10] docs: cgroup nits and fixes Tejun Heo
2021-01-20 16:43   ` Tejun Heo
2021-01-21 18:42   ` Jonathan Corbet
2021-01-21 18:42     ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210120001824.385168-6-kolyshkin@gmail.com \
    --to=kolyshkin@gmail.com \
    --cc=cgroups@vger.kernel.org \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.