RCU Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Documentation: Rename rcu_node_context_switch() to rcu_note_context_switch()
@ 2019-08-27  9:36 Sebastian Andrzej Siewior
  2019-08-27 16:02 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2019-08-27  9:36 UTC (permalink / raw)
  To: Paul E. McKenney
  Cc: Joel Fernandes, Scott Wood, linux-kernel, Thomas Gleixner,
	Peter Zijlstra, Juri Lelli, Clark Williams, Josh Triplett,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan,
	Jonathan Corbet, rcu, linux-doc

While Paul was explaning some RCU magic I noticed a typo in
rcu_note_context_switch().
Replace rcu_node_context_switch() with rcu_note_context_switch().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 .../RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html    | 2 +-
 Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg         | 2 +-
 Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html
index c64f8d26609fb..54db02b74f636 100644
--- a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html
+++ b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html
@@ -481,7 +481,7 @@ section that the grace period must wait on.
 </table>
 
 <p>If the CPU does a context switch, a quiescent state will be
-noted by <tt>rcu_node_context_switch()</tt> on the left.
+noted by <tt>rcu_note_context_switch()</tt> on the left.
 On the other hand, if the CPU takes a scheduler-clock interrupt
 while executing in usermode, a quiescent state will be noted by
 <tt>rcu_sched_clock_irq()</tt> on the right.
diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg
index 2bcd742d6e491..069f6f8371c20 100644
--- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg
+++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg
@@ -3880,7 +3880,7 @@
          font-style="normal"
          y="-4418.6582"
          x="3745.7725"
-         xml:space="preserve">rcu_node_context_switch()</text>
+         xml:space="preserve">rcu_note_context_switch()</text>
     </g>
     <g
        transform="translate(1881.1886,54048.57)"
diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg
index 779c9ac31a527..7d6c5f7e505c6 100644
--- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg
+++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg
@@ -753,7 +753,7 @@
          font-style="normal"
          y="-4418.6582"
          x="3745.7725"
-         xml:space="preserve">rcu_node_context_switch()</text>
+         xml:space="preserve">rcu_note_context_switch()</text>
     </g>
     <g
        transform="translate(3131.2648,-585.6713)"
-- 
2.23.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: Rename rcu_node_context_switch() to rcu_note_context_switch()
  2019-08-27  9:36 [PATCH] Documentation: Rename rcu_node_context_switch() to rcu_note_context_switch() Sebastian Andrzej Siewior
@ 2019-08-27 16:02 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2019-08-27 16:02 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior
  Cc: Joel Fernandes, Scott Wood, linux-kernel, Thomas Gleixner,
	Peter Zijlstra, Juri Lelli, Clark Williams, Josh Triplett,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan,
	Jonathan Corbet, rcu, linux-doc

On Tue, Aug 27, 2019 at 11:36:03AM +0200, Sebastian Andrzej Siewior wrote:
> While Paul was explaning some RCU magic I noticed a typo in
> rcu_note_context_switch().
> Replace rcu_node_context_switch() with rcu_note_context_switch().
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Good eyes, queued for v5.5, thank you!

Sounds like I should explain RCU magic more often, then.  ;-)

							Thanx, Paul

> ---
>  .../RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html    | 2 +-
>  Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg         | 2 +-
>  Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg         | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html
> index c64f8d26609fb..54db02b74f636 100644
> --- a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html
> +++ b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html
> @@ -481,7 +481,7 @@ section that the grace period must wait on.
>  </table>
>  
>  <p>If the CPU does a context switch, a quiescent state will be
> -noted by <tt>rcu_node_context_switch()</tt> on the left.
> +noted by <tt>rcu_note_context_switch()</tt> on the left.
>  On the other hand, if the CPU takes a scheduler-clock interrupt
>  while executing in usermode, a quiescent state will be noted by
>  <tt>rcu_sched_clock_irq()</tt> on the right.
> diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg
> index 2bcd742d6e491..069f6f8371c20 100644
> --- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg
> +++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg
> @@ -3880,7 +3880,7 @@
>           font-style="normal"
>           y="-4418.6582"
>           x="3745.7725"
> -         xml:space="preserve">rcu_node_context_switch()</text>
> +         xml:space="preserve">rcu_note_context_switch()</text>
>      </g>
>      <g
>         transform="translate(1881.1886,54048.57)"
> diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg
> index 779c9ac31a527..7d6c5f7e505c6 100644
> --- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg
> +++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg
> @@ -753,7 +753,7 @@
>           font-style="normal"
>           y="-4418.6582"
>           x="3745.7725"
> -         xml:space="preserve">rcu_node_context_switch()</text>
> +         xml:space="preserve">rcu_note_context_switch()</text>
>      </g>
>      <g
>         transform="translate(3131.2648,-585.6713)"
> -- 
> 2.23.0
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27  9:36 [PATCH] Documentation: Rename rcu_node_context_switch() to rcu_note_context_switch() Sebastian Andrzej Siewior
2019-08-27 16:02 ` Paul E. McKenney

RCU Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/rcu/0 rcu/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 rcu rcu/ https://lore.kernel.org/rcu \
		rcu@vger.kernel.org
	public-inbox-index rcu

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.rcu


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git