Skip to content

Commit 58d0db8

Browse files
Frederic Weisbeckerpaulmckrcu
authored andcommitted
doc: Fix diagram references in memory-ordering document
The three diagrams describing rcu_gp_init() all spuriously refer to the same figure, probably due to a copy/paste issue. This commit fixes these references. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent 18389c4 commit 58d0db8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,14 @@ The diagram below shows the path of ordering if the leftmost
339339
leftmost ``rcu_node`` structure offlines its last CPU and if the next
340340
``rcu_node`` structure has no online CPUs).
341341

342-
.. kernel-figure:: TreeRCU-gp-init-1.svg
342+
.. kernel-figure:: TreeRCU-gp-init-2.svg
343343

344344
The final ``rcu_gp_init()`` pass through the ``rcu_node`` tree traverses
345345
breadth-first, setting each ``rcu_node`` structure's ``->gp_seq`` field
346346
to the newly advanced value from the ``rcu_state`` structure, as shown
347347
in the following diagram.
348348

349-
.. kernel-figure:: TreeRCU-gp-init-1.svg
349+
.. kernel-figure:: TreeRCU-gp-init-3.svg
350350

351351
This change will also cause each CPU's next call to
352352
``__note_gp_changes()`` to notice that a new grace period has started,

0 commit comments

Comments
 (0)