Skip to content

Commit 526914a

Browse files
Tetsuo Handapaulmck
authored andcommitted
doc: Fix RCU requirements typos
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1 parent e73c14e commit 526914a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/RCU/Design/Requirements/Requirements.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ <h3><a name="Specialization">Specialization</a></h3>
14801480

14811481
<p>
14821482
Furthermore, uncertainty about external state is inherent in many cases.
1483-
For example, a pair of veternarians might use heartbeat to determine
1483+
For example, a pair of veterinarians might use heartbeat to determine
14841484
whether or not a given cat was alive.
14851485
But how long should they wait after the last heartbeat to decide that
14861486
the cat is in fact dead?
@@ -1489,9 +1489,9 @@ <h3><a name="Specialization">Specialization</a></h3>
14891489
and life more than 100 times per minute.
14901490
Moreover, just as with human beings, a cat's heart might stop for
14911491
some period of time, so the exact wait period is a judgment call.
1492-
One of our pair of veternarians might wait 30 seconds before pronouncing
1492+
One of our pair of veterinarians might wait 30 seconds before pronouncing
14931493
the cat dead, while the other might insist on waiting a full minute.
1494-
The two veternarians would then disagree on the state of the cat during
1494+
The two veterinarians would then disagree on the state of the cat during
14951495
the final 30 seconds of the minute following the last heartbeat.
14961496

14971497
<p>
@@ -1945,7 +1945,7 @@ <h2><a name="Software-Engineering Requirements">
19451945
<ol>
19461946
<li> It is all too easy to forget to use <tt>rcu_read_lock()</tt>
19471947
everywhere that it is needed, so kernels built with
1948-
<tt>CONFIG_PROVE_RCU=y</tt> will spat if
1948+
<tt>CONFIG_PROVE_RCU=y</tt> will splat if
19491949
<tt>rcu_dereference()</tt> is used outside of an
19501950
RCU read-side critical section.
19511951
Update-side code can use <tt>rcu_dereference_protected()</tt>,
@@ -2421,7 +2421,7 @@ <h3><a name="Energy Efficiency">Energy Efficiency</a></h3>
24212421
<li> Blocking is prohibited.
24222422
In practice, this is not a serious restriction given that idle
24232423
tasks are prohibited from blocking to begin with.
2424-
<li> Although nesting <tt>RCU_NONIDLE()</tt> is permited, they cannot
2424+
<li> Although nesting <tt>RCU_NONIDLE()</tt> is permitted, they cannot
24252425
nest indefinitely deeply.
24262426
However, given that they can be nested on the order of a million
24272427
deep, even on 32-bit systems, this should not be a serious
@@ -2885,7 +2885,7 @@ <h3><a name="Sleepable RCU">Sleepable RCU</a></h3>
28852885
<h3><a name="Tasks RCU">Tasks RCU</a></h3>
28862886

28872887
<p>
2888-
Some forms of tracing use &ldquo;tramopolines&rdquo; to handle the
2888+
Some forms of tracing use &ldquo;trampolines&rdquo; to handle the
28892889
binary rewriting required to install different types of probes.
28902890
It would be good to be able to free old trampolines, which sounds
28912891
like a job for some form of RCU.

0 commit comments

Comments
 (0)