OSDN Git Service

doc/admin-guide/cgroup-v2: use tables
authorKir Kolyshkin <kolyshkin@gmail.com>
Wed, 20 Jan 2021 00:18:22 +0000 (16:18 -0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 21 Jan 2021 21:05:59 +0000 (14:05 -0700)
These two places are rendered like a table in the source (rst) code,
but they are seen as plain text by formatters, and thus are joined
together into a single line, e.g.:

> “root” - a partition root “member” - a non-root member of a partition

This is definitely not what was intended.

To fix, use table formatting, like in other places.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20210120001824.385168-9-kolyshkin@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/cgroup-v2.rst

index c1b6ffc..6f59f13 100644 (file)
@@ -2003,10 +2003,12 @@ Cpuset Interface Files
        cpuset-enabled cgroups.  This flag is owned by the parent cgroup
        and is not delegatable.
 
-        It accepts only the following input values when written to.
+       It accepts only the following input values when written to.
 
-        "root"   - a partition root
-        "member" - a non-root member of a partition
+         ========      ================================
+         "root"        a partition root
+         "member"      a non-root member of a partition
+         ========      ================================
 
        When set to be a partition root, the current cgroup is the
        root of a new partition or scheduling domain that comprises
@@ -2047,9 +2049,11 @@ Cpuset Interface Files
        root to change.  On read, the "cpuset.sched.partition" file
        can show the following values.
 
-       "member"       Non-root member of a partition
-       "root"         Partition root
-       "root invalid" Invalid partition root
+         ==============        ==============================
+         "member"              Non-root member of a partition
+         "root"                Partition root
+         "root invalid"        Invalid partition root
+         ==============        ==============================
 
        It is a partition root if the first 2 partition root conditions
        above are true and at least one CPU from "cpuset.cpus" is