linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rcu docs: repair some whitespace damage
@ 2019-01-29 22:05 Tycho Andersen
  2019-01-30 15:22 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Tycho Andersen @ 2019-01-29 22:05 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: Josh Triplett, Paul E . McKenney, linux-kernel, linux-doc,
	Tycho Andersen

While reading the docs I noticed some whitespace damage in diagram. Let's
fix it up to be consistent with elsewhere in the document: use one leading
tab, followed by spaces for any additional whitespace required.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
---
 Documentation/RCU/whatisRCU.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/RCU/whatisRCU.txt b/Documentation/RCU/whatisRCU.txt
index 4a6854318b17..419ec18b87bd 100644
--- a/Documentation/RCU/whatisRCU.txt
+++ b/Documentation/RCU/whatisRCU.txt
@@ -310,7 +310,7 @@ reader, updater, and reclaimer.
 
 
 	    rcu_assign_pointer()
-	    			    +--------+
+	                            +--------+
 	    +---------------------->| reader |---------+
 	    |                       +--------+         |
 	    |                           |              |
@@ -318,12 +318,12 @@ reader, updater, and reclaimer.
 	    |                           |              | rcu_read_lock()
 	    |                           |              | rcu_read_unlock()
 	    |        rcu_dereference()  |              |
-       +---------+                      |              |
-       | updater |<---------------------+              |
-       +---------+                                     V
+	    +---------+                 |              |
+	    | updater |<----------------+              |
+	    +---------+                                V
 	    |                                    +-----------+
 	    +----------------------------------->| reclaimer |
-	    				         +-----------+
+	                                         +-----------+
 	      Defer:
 	      synchronize_rcu() & call_rcu()
 
-- 
2.19.1


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

* Re: [PATCH] rcu docs: repair some whitespace damage
  2019-01-29 22:05 [PATCH] rcu docs: repair some whitespace damage Tycho Andersen
@ 2019-01-30 15:22 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2019-01-30 15:22 UTC (permalink / raw)
  To: Tycho Andersen; +Cc: Jonathan Corbet, Josh Triplett, linux-kernel, linux-doc

On Tue, Jan 29, 2019 at 03:05:46PM -0700, Tycho Andersen wrote:
> While reading the docs I noticed some whitespace damage in diagram. Let's
> fix it up to be consistent with elsewhere in the document: use one leading
> tab, followed by spaces for any additional whitespace required.
> 
> Signed-off-by: Tycho Andersen <tycho@tycho.ws>

Good eyes!  ;-)

Applied, thank you!

							Thanx, Paul

> ---
>  Documentation/RCU/whatisRCU.txt | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/Documentation/RCU/whatisRCU.txt b/Documentation/RCU/whatisRCU.txt
> index 4a6854318b17..419ec18b87bd 100644
> --- a/Documentation/RCU/whatisRCU.txt
> +++ b/Documentation/RCU/whatisRCU.txt
> @@ -310,7 +310,7 @@ reader, updater, and reclaimer.
>  
>  
>  	    rcu_assign_pointer()
> -	    			    +--------+
> +	                            +--------+
>  	    +---------------------->| reader |---------+
>  	    |                       +--------+         |
>  	    |                           |              |
> @@ -318,12 +318,12 @@ reader, updater, and reclaimer.
>  	    |                           |              | rcu_read_lock()
>  	    |                           |              | rcu_read_unlock()
>  	    |        rcu_dereference()  |              |
> -       +---------+                      |              |
> -       | updater |<---------------------+              |
> -       +---------+                                     V
> +	    +---------+                 |              |
> +	    | updater |<----------------+              |
> +	    +---------+                                V
>  	    |                                    +-----------+
>  	    +----------------------------------->| reclaimer |
> -	    				         +-----------+
> +	                                         +-----------+
>  	      Defer:
>  	      synchronize_rcu() & call_rcu()
>  
> -- 
> 2.19.1
> 


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

end of thread, other threads:[~2019-01-30 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-29 22:05 [PATCH] rcu docs: repair some whitespace damage Tycho Andersen
2019-01-30 15:22 ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).