lkml.org 
[lkml]   [2020]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] doc: highlight structure fields using monospace format
Date
The idea is to improve readability by highlighting structure fields
using a different format.

Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
---
Documentation/locking/rt-mutex-design.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/locking/rt-mutex-design.rst b/Documentation/locking/rt-mutex-design.rst
index 59c2a64efb21..bdd6b0013e02 100644
--- a/Documentation/locking/rt-mutex-design.rst
+++ b/Documentation/locking/rt-mutex-design.rst
@@ -199,7 +199,7 @@ Mutex Waiters Tree
Every mutex keeps track of all the waiters that are blocked on itself. The
mutex has a rbtree to store these waiters by priority. This tree is protected
by a spin lock that is located in the struct of the mutex. This lock is called
-wait_lock.
+``wait_lock``.


Task PI Tree
@@ -216,9 +216,9 @@ inherited a priority, it will always be the priority of the task that is
at the top of this tree.

This tree is stored in the task structure of a process as a rbtree called
-pi_waiters. It is protected by a spin lock also in the task structure,
-called pi_lock. This lock may also be taken in interrupt context, so when
-locking the pi_lock, interrupts must be disabled.
+``pi_waiters``. It is protected by a spin lock also in the task structure,
+called ``pi_lock``. This lock may also be taken in interrupt context, so when
+locking the ``pi_lock``, interrupts must be disabled.


Depth of the PI Chain
--
2.25.1
\
 
 \ /
  Last update: 2020-04-05 23:05    [W:0.095 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site