Skip to content

Commit

Permalink
doc: cgroup: improve formatting of references
Browse files Browse the repository at this point in the history
Annotate references to other documents to make them clickable.

Signed-off-by: Jakub Kicinski <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
kuba-moo authored and Jonathan Corbet committed Mar 2, 2020
1 parent f3431ba commit 373e8ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Documentation/accounting/psi.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _psi:

================================
PSI - Pressure Stall Information
================================
Expand Down
2 changes: 2 additions & 0 deletions Documentation/admin-guide/cgroup-v1/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _cgroup-v1:

========================
Control Groups version 1
========================
Expand Down
8 changes: 4 additions & 4 deletions Documentation/admin-guide/cgroup-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is the authoritative documentation on the design, interface and
conventions of cgroup v2. It describes all userland-visible aspects
of cgroup including core and specific controller behaviors. All
future changes must be reflected in this document. Documentation for
v1 is available under Documentation/admin-guide/cgroup-v1/.
v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`.

.. CONTENTS
Expand Down Expand Up @@ -1023,7 +1023,7 @@ All time durations are in microseconds.
A read-only nested-key file which exists on non-root cgroups.

Shows pressure stall information for CPU. See
Documentation/accounting/psi.rst for details.
:ref:`Documentation/accounting/psi.rst <psi>` for details.

cpu.uclamp.min
A read-write single value file which exists on non-root cgroups.
Expand Down Expand Up @@ -1391,7 +1391,7 @@ PAGE_SIZE multiple when read back.
A read-only nested-key file which exists on non-root cgroups.

Shows pressure stall information for memory. See
Documentation/accounting/psi.rst for details.
:ref:`Documentation/accounting/psi.rst <psi>` for details.


Usage Guidelines
Expand Down Expand Up @@ -1631,7 +1631,7 @@ IO Interface Files
A read-only nested-key file which exists on non-root cgroups.

Shows pressure stall information for IO. See
Documentation/accounting/psi.rst for details.
:ref:`Documentation/accounting/psi.rst <psi>` for details.


Writeback
Expand Down

0 comments on commit 373e8ff

Please sign in to comment.