summaryrefslogtreecommitdiffstats
path: root/Documentation/RCU/rcu_dereference.rst
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2021-05-20 13:32:36 +0900
committerPaul E. McKenney <paulmck@kernel.org>2021-07-20 13:36:33 -0700
commite3879ecd366a8ccc0ad7e36bf62692c16db360a1 (patch)
tree3582961f0b6fba383977f21bdf116561b0d7eece /Documentation/RCU/rcu_dereference.rst
parent2734d6c1b1a089fb593ef6a23d4b70903526fe0c (diff)
downloadlinux-e3879ecd366a8ccc0ad7e36bf62692c16db360a1.tar.bz2
Documentation/RCU: Fix emphasis markers
"-foo-" does not work as emphasis in ReST markdown. Use "*foo*" instead. Signed-off-by: Akira Yokosawa <akiyks@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/RCU/rcu_dereference.rst')
-rw-r--r--Documentation/RCU/rcu_dereference.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/RCU/rcu_dereference.rst b/Documentation/RCU/rcu_dereference.rst
index f3e587acb4de..0b418a5b243c 100644
--- a/Documentation/RCU/rcu_dereference.rst
+++ b/Documentation/RCU/rcu_dereference.rst
@@ -43,7 +43,7 @@ Follow these rules to keep your RCU code working properly:
- Set bits and clear bits down in the must-be-zero low-order
bits of that pointer. This clearly means that the pointer
must have alignment constraints, for example, this does
- -not- work in general for char* pointers.
+ *not* work in general for char* pointers.
- XOR bits to translate pointers, as is done in some
classic buddy-allocator algorithms.
@@ -174,7 +174,7 @@ Follow these rules to keep your RCU code working properly:
Please see the "CONTROL DEPENDENCIES" section of
Documentation/memory-barriers.txt for more details.
- - The pointers are not equal -and- the compiler does
+ - The pointers are not equal *and* the compiler does
not have enough information to deduce the value of the
pointer. Note that the volatile cast in rcu_dereference()
will normally prevent the compiler from knowing too much.
@@ -360,7 +360,7 @@ in turn destroying the ordering between this load and the loads of the
return values. This can result in "p->b" returning pre-initialization
garbage values.
-In short, rcu_dereference() is -not- optional when you are going to
+In short, rcu_dereference() is *not* optional when you are going to
dereference the resulting pointer.