Skip to content

Commit b1ec18e

Browse files
Sebastian Andrzej Siewiorpaulmckrcu
authored andcommitted
Documentation: Rename rcu_node_context_switch() to rcu_note_context_switch()
While Paul was explaining some RCU magic I noticed a typo in rcu_note_context_switch(). As a result, this commit replaces rcu_node_context_switch() with rcu_note_context_switch(). Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 4527106 commit b1ec18e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ wait on.
423423
+-----------------------------------------------------------------------+
424424

425425
If the CPU does a context switch, a quiescent state will be noted by
426-
``rcu_node_context_switch()`` on the left. On the other hand, if the CPU
426+
``rcu_note_context_switch()`` on the left. On the other hand, if the CPU
427427
takes a scheduler-clock interrupt while executing in usermode, a
428428
quiescent state will be noted by ``rcu_sched_clock_irq()`` on the right.
429429
Either way, the passage through a quiescent state will be noted in a

Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg

Lines changed: 1 addition & 1 deletion
Loading

Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)