Skip to contentSkip to conversation

memorder: Reconcile Figure 15.15 notation with W+RWC z-flow semantics

PATCH In review Kunwu Chan 2 participants 4 messages Mar 11 – Mar 12

lore
Share & tools
lore

Kunwu Chan

author
#0 lore raw

PATCH 1/1 memorder: Reconcile Figure 15.15 notation with W+RWC z-flow semantics

State explicitly that Figure 15.15 uses x as a schematic variable name, while the surrounding W+RWC analysis in Listing 15.18 follows the concrete z-flow (P2 -> z -> P1). This eliminates notation drift across cross-references and preserves propagation-argument fidelity.

---
 memorder/memorder.tex | 2 ++
 1 file changed, 2 insertions(+)
memorder/memorder.tex +2 -0
index 2357e7ea..8eb14a29 100644
@@ -2760,6 +2760,8 @@ that \co{P1()}'s read from \co{z} happens much later in time, but
 nevertheless still sees the old value of zero.
 This situation is depicted in
 \cref{fig:memorder:Load-to-Store is Counter-Temporal}:
+The figure uses \co{x} as a generic variable name for the same
+counter-temporal pattern.
 Just because a load sees the old value does \emph{not} mean that
 this load executed at an earlier time than did the store of the
 new value.
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Kunwu Chan

State explicitly that Figure 15.15 uses x as a schematic variable name, while the surrounding W+RWC analysis in Listing 15.18 follows the concrete z-flow (P2 -> z -> P1). This eliminates notation drift across cross-references and preserves propagation-argument fidelity.

Again, good eyes, and thank you! I queued and pushed all three, and added a fourth commit that converted this to a footnote and mentioned both variables and the listing, shown below. Please check it to make sure that I have not messed something up.

Thanx, Paul

Quoted 19 lines
---
 memorder/memorder.tex | 2 ++
 1 file changed, 2 insertions(+)
memorder/memorder.tex +2 -0
index 2357e7ea..8eb14a29 100644
@@ -2760,6 +2760,8 @@ that \co{P1()}'s read from \co{z} happens much later in time, but
 nevertheless still sees the old value of zero.
 This situation is depicted in
 \cref{fig:memorder:Load-to-Store is Counter-Temporal}:
+The figure uses \co{x} as a generic variable name for the same
+counter-temporal pattern.
 Just because a load sees the old value does \emph{not} mean that
 this load executed at an earlier time than did the store of the
 new value.
Signature · 1 line
2.25.1

------------------------------------------------------------------------

commit d2c790e9077625e2e28ee919619b4d18175c3665

Author: Paul E. McKenney <[email protected]>
Date:   Wed Mar 11 07:34:07 2026 -0700

memorder: Convert Figure 15.15 variable-x commentary to footnote

memorder/memorder.tex +4 -3
index 388903b6..4503c0a6 100644
@@ -2759,9 +2759,10 @@ It therefore takes time for the effect of the \co{P2()}'s store to
 that \co{P1()}'s read from \co{z} happens much later in time, but
 nevertheless still sees the old value of zero.
 This situation is depicted in
-\cref{fig:memorder:Load-to-Store is Counter-Temporal}:
-The figure uses \co{x} as a generic variable name for the same
-counter-temporal pattern.
+\cref{fig:memorder:Load-to-Store is Counter-Temporal}:\footnote{
+	The figure uses \co{x} as a generic variable name for the same
+	counter-temporal pattern that uses the variable \co{z} in
+	\cref{lst:memorder:W+RWC Litmus Test With Release (No Ordering)}.}
 Just because a load sees the old value does \emph{not} mean that
 this load executed at an earlier time than did the store of the
 new value.
author
#2 lore raw
Quoted 6 lines · Paul E. McKenney
Quoted 3 lines · Kunwu Chan

State explicitly that Figure 15.15 uses x as a schematic variable name, while the surrounding W+RWC analysis in Listing 15.18 follows the concrete z-flow (P2 -> z -> P1). This eliminates notation drift across cross-references and preserves propagation-argument fidelity.

Quoted 9 lines
Quoted 2 lines

Again, good eyes, and thank you! I queued and pushed all three, and added a fourth commit that converted this to a footnote and mentioned both variables and the listing, shown below. Please check it to make sure that I have not messed something up.

Thanx, Paul

Hi Paul,
Checked — LGTM.
The footnote conversion is the right call. It cleanly resolves the Figure 15.15 x vs. W+RWC z notation mismatch. Thanks for landing this promptly.

Best, Kunwu

Quoted 50 lines
Quoted 5 lines
---
 memorder/memorder.tex | 2 ++
 1 file changed, 2 insertions(+)
Quoted 16 lines

diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 2357e7ea..8eb14a29 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -2760,6 +2760,8 @@ that \co{P1()}'s read from \co{z} happens much later in time, but nevertheless still sees the old value of zero.
This situation is depicted in
\cref{fig:memorder:Load-to-Store is Counter-Temporal}:
+The figure uses \co{x} as a generic variable name for the same +counter-temporal pattern.
Just because a load sees the old value does \emph{not} mean that
this load executed at an earlier time than did the store of the
new value.
--
2.25.1

------------------------------------------------------------------------

commit d2c790e9077625e2e28ee919619b4d18175c3665
Author: Paul E. McKenney <[email protected]>
Date: Wed Mar 11 07:34:07 2026 -0700

memorder: Convert Figure 15.15 variable-x commentary to footnote

memorder/memorder.tex +4 -3
index 388903b6..4503c0a6 100644
@@ -2759,9 +2759,10 @@ It therefore takes time for the effect of the \co{P2()}'s store to
 that \co{P1()}'s read from \co{z} happens much later in time, but
 nevertheless still sees the old value of zero.
 This situation is depicted in
-\cref{fig:memorder:Load-to-Store is Counter-Temporal}:
-The figure uses \co{x} as a generic variable name for the same
-counter-temporal pattern.
+\cref{fig:memorder:Load-to-Store is Counter-Temporal}:\footnote{
+ The figure uses \co{x} as a generic variable name for the same
+ counter-temporal pattern that uses the variable \co{z} in
+ \cref{lst:memorder:W+RWC Litmus Test With Release (No Ordering)}.}
 Just because a load sees the old value does \emph{not} mean that
 this load executed at an earlier time than did the store of the
 new value.
#3 lore raw
Quoted 16 lines · Kunwu Chan
Quoted 13 lines · Paul E. McKenney
Quoted 5 lines · Kunwu Chan

State explicitly that Figure 15.15 uses x as a schematic variable name, while the surrounding W+RWC analysis in Listing 15.18 follows the concrete z-flow (P2 -> z -> P1). This eliminates notation drift across cross-references and preserves propagation-argument fidelity.

Again, good eyes, and thank you! I queued and pushed all three, and added a fourth commit that converted this to a footnote and mentioned both variables and the listing, shown below. Please check it to make sure that I have not messed something up.

Quoted 7 lines
Quoted 2 lines

Thanx, Paul

Hi Paul,
Checked — LGTM.
The footnote conversion is the right call. It cleanly resolves the Figure 15.15 x vs. W+RWC z notation mismatch. Thanks for landing this promptly.

And thank you for checking!

Thanx, Paul

Quoted 52 lines

Best, Kunwu

Quoted 50 lines
Quoted 5 lines
---
 memorder/memorder.tex | 2 ++
 1 file changed, 2 insertions(+)
Quoted 16 lines

diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 2357e7ea..8eb14a29 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -2760,6 +2760,8 @@ that \co{P1()}'s read from \co{z} happens much later in time, but nevertheless still sees the old value of zero.
This situation is depicted in
\cref{fig:memorder:Load-to-Store is Counter-Temporal}:
+The figure uses \co{x} as a generic variable name for the same +counter-temporal pattern.
Just because a load sees the old value does \emph{not} mean that
this load executed at an earlier time than did the store of the
new value.
--
2.25.1

------------------------------------------------------------------------

commit d2c790e9077625e2e28ee919619b4d18175c3665
Author: Paul E. McKenney <[email protected]>
Date: Wed Mar 11 07:34:07 2026 -0700

memorder: Convert Figure 15.15 variable-x commentary to footnote

memorder/memorder.tex +4 -3
index 388903b6..4503c0a6 100644
@@ -2759,9 +2759,10 @@ It therefore takes time for the effect of the \co{P2()}'s store to
 that \co{P1()}'s read from \co{z} happens much later in time, but
 nevertheless still sees the old value of zero.
 This situation is depicted in
-\cref{fig:memorder:Load-to-Store is Counter-Temporal}:
-The figure uses \co{x} as a generic variable name for the same
-counter-temporal pattern.
+\cref{fig:memorder:Load-to-Store is Counter-Temporal}:\footnote{
+ The figure uses \co{x} as a generic variable name for the same
+ counter-temporal pattern that uses the variable \co{z} in
+ \cref{lst:memorder:W+RWC Litmus Test With Release (No Ordering)}.}
 Just because a load sees the old value does \emph{not} mean that
 this load executed at an earlier time than did the store of the
 new value.