summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/cgroup-v1/memory.rst
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2023-01-05 16:16:30 +0300
committerTejun Heo <tj@kernel.org>2023-01-05 20:38:10 +0300
commitf7423bb771d4acaad4e40addf9e09f5722f48b04 (patch)
treee578ea9cbbfd86348318a0d21af84d02254b76ad /Documentation/admin-guide/cgroup-v1/memory.rst
parent71da431c30795716a1ca26158f608781b3eba33d (diff)
downloadlinux-f7423bb771d4acaad4e40addf9e09f5722f48b04.tar.xz
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/memory.rst')
-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