]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
doc: cgroup: improve formatting of cpuset examples
authorJakub Kicinski <kuba@kernel.org>
Fri, 28 Feb 2020 00:06:52 +0000 (16:06 -0800)
committerJonathan Corbet <corbet@lwn.net>
Mon, 2 Mar 2020 19:57:03 +0000 (12:57 -0700)
We need literal sections otherwise the entire example is rendered
as a single line.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lore.kernel.org/r/20200228000653.1572553-5-kuba@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/cgroup-v2.rst

index 9d16fbc5df631172ee6b34bb3499d041a3a6cb86..308d096af0710500464c700ce12e9bf66aca3e37 100644 (file)
@@ -1841,7 +1841,7 @@ Cpuset Interface Files
        from the requested CPUs.
 
        The CPU numbers are comma-separated numbers or ranges.
-       For example:
+       For example::
 
          # cat cpuset.cpus
          0-4,6,8-10
@@ -1880,7 +1880,7 @@ Cpuset Interface Files
        from the requested memory nodes.
 
        The memory node numbers are comma-separated numbers or ranges.
-       For example:
+       For example::
 
          # cat cpuset.mems
          0-1,3