Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Frederic Weisbecker and committed by
Paul E. McKenney
58d0db86 18389c45

+2 -2
+2 -2
Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst
··· 339 339 leftmost ``rcu_node`` structure offlines its last CPU and if the next 340 340 ``rcu_node`` structure has no online CPUs). 341 341 342 - .. kernel-figure:: TreeRCU-gp-init-1.svg 342 + .. kernel-figure:: TreeRCU-gp-init-2.svg 343 343 344 344 The final ``rcu_gp_init()`` pass through the ``rcu_node`` tree traverses 345 345 breadth-first, setting each ``rcu_node`` structure's ``->gp_seq`` field 346 346 to the newly advanced value from the ``rcu_state`` structure, as shown 347 347 in the following diagram. 348 348 349 - .. kernel-figure:: TreeRCU-gp-init-1.svg 349 + .. kernel-figure:: TreeRCU-gp-init-3.svg 350 350 351 351 This change will also cause each CPU's next call to 352 352 ``__note_gp_changes()`` to notice that a new grace period has started,