aboutsummaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/cgroup-v1
diff options
context:
space:
mode:
authorGravatar Bagas Sanjaya <bagasdotme@gmail.com> 2023-01-05 20:16:30 +0700
committerGravatar Tejun Heo <tj@kernel.org> 2023-01-05 07:38:10 -1000
commitf7423bb771d4acaad4e40addf9e09f5722f48b04 (patch)
treee578ea9cbbfd86348318a0d21af84d02254b76ad /Documentation/admin-guide/cgroup-v1
parentdocs: cgroup-v1: fix footnotes (diff)
downloadlinux-f7423bb771d4acaad4e40addf9e09f5722f48b04.tar.gz
linux-f7423bb771d4acaad4e40addf9e09f5722f48b04.tar.bz2
linux-f7423bb771d4acaad4e40addf9e09f5722f48b04.zip
docs: cgroup-v1: move hierarchy of accounting caption
The caption for hierarchy of accounting figure is in the code block, which is quite odd. Move the caption into :caption: option of code-block:: directive instead. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/admin-guide/cgroup-v1')
-rw-r--r--Documentation/admin-guide/cgroup-v1/memory.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/cgroup-v1/memory.rst b/Documentation/admin-guide/cgroup-v1/memory.rst
index 8d1cedcf44f6..4d96a5bbbfcf 100644
--- a/Documentation/admin-guide/cgroup-v1/memory.rst
+++ b/Documentation/admin-guide/cgroup-v1/memory.rst
@@ -147,7 +147,8 @@ specific data structure (mem_cgroup) associated with it.
2.2. Accounting
---------------
-::
+.. code-block::
+ :caption: Figure 1: Hierarchy of Accounting
+--------------------+
| mem_cgroup |
@@ -167,7 +168,6 @@ specific data structure (mem_cgroup) associated with it.
| | | |
+---------------+ +---------------+
- (Figure 1: Hierarchy of Accounting)
Figure 1 shows the important aspects of the controller