* [PATCH] defer/rcuintro: Substitute smp_store_release() for WRITE_ONCE()
@ 2019-10-23 15:29 Akira Yokosawa
2019-10-23 21:05 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2019-10-23 15:29 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 6845d0f978a81ef17d0011bebb500087f39f9a45 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Thu, 24 Oct 2019 00:19:13 +0900
Subject: [PATCH] defer/rcuintro: Substitute smp_store_release() for WRITE_ONCE()
This change corresponds to the update of Figure 9.7 by commit
6bc87460e2ad ("defer/rcuintro: Fix colors, fonts, and primitives
in Figures 9.6 and 9.7").
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
defer/rcuintro.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/defer/rcuintro.tex b/defer/rcuintro.tex
index dc750326..6702153a 100644
--- a/defer/rcuintro.tex
+++ b/defer/rcuintro.tex
@@ -295,7 +295,7 @@ Again, this same constraint is imposed on reader threads dereferencing
they are done using the pointed-to data item.
Returning to the second row of
Figure~\ref{fig:defer:Deletion With Concurrent Readers},
-where the updater has just completed executing the \co{WRITE_ONCE()},
+where the updater has just completed executing the \co{smp_store_release()},
imagine that CPU~0 executes a context switch.
Because readers are not permitted to block while traversing the linked
list, we are guaranteed that all prior readers that might have been running on
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] defer/rcuintro: Substitute smp_store_release() for WRITE_ONCE()
2019-10-23 15:29 [PATCH] defer/rcuintro: Substitute smp_store_release() for WRITE_ONCE() Akira Yokosawa
@ 2019-10-23 21:05 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2019-10-23 21:05 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Thu, Oct 24, 2019 at 12:29:04AM +0900, Akira Yokosawa wrote:
> >From 6845d0f978a81ef17d0011bebb500087f39f9a45 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Thu, 24 Oct 2019 00:19:13 +0900
> Subject: [PATCH] defer/rcuintro: Substitute smp_store_release() for WRITE_ONCE()
>
> This change corresponds to the update of Figure 9.7 by commit
> 6bc87460e2ad ("defer/rcuintro: Fix colors, fonts, and primitives
> in Figures 9.6 and 9.7").
>
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Queued and pushed, thank you!
Thanx, Paul
> ---
> defer/rcuintro.tex | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/defer/rcuintro.tex b/defer/rcuintro.tex
> index dc750326..6702153a 100644
> --- a/defer/rcuintro.tex
> +++ b/defer/rcuintro.tex
> @@ -295,7 +295,7 @@ Again, this same constraint is imposed on reader threads dereferencing
> they are done using the pointed-to data item.
> Returning to the second row of
> Figure~\ref{fig:defer:Deletion With Concurrent Readers},
> -where the updater has just completed executing the \co{WRITE_ONCE()},
> +where the updater has just completed executing the \co{smp_store_release()},
> imagine that CPU~0 executes a context switch.
> Because readers are not permitted to block while traversing the linked
> list, we are guaranteed that all prior readers that might have been running on
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-23 21:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 15:29 [PATCH] defer/rcuintro: Substitute smp_store_release() for WRITE_ONCE() Akira Yokosawa
2019-10-23 21:05 ` Paul E. McKenney
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.