Skip to contentSkip to conversation

defer/rcuusage: Reflect subsection reordering

PATCH Applied Akira Yokosawa 2 participants 3 messages Dec 21, 2021 – Dec 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 defer/rcuusage: Reflect subsection reordering

Subsection of "Type-Safe Memory" was moved upward in commit e22df8aea3f2 ("defer/rcuusage: Move type-safe-memory section").

---
Hi Paul,

This patch and the next are last minute nitpicks for the upcoming release.

Thanks, Akira
--

 defer/rcuusage.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
defer/rcuusage.tex +3 -2
index 3fbe73be..811dd32a 100644
@@ -588,8 +588,9 @@ element being freed and reallocated as the same type of structure
 while they are referencing it, but must prohibit a change in type.
 This guarantee, called ``type-safe memory'' in
 academic literature~\cite{Cheriton96a},
-is weaker than the existence guarantees in the
-previous section, and is therefore quite a bit harder to work with.
+is weaker than the existence guarantees discussed
+in \cref{sec:defer:Existence Guarantee},
+and is therefore quite a bit harder to work with.
 Type-safe memory algorithms in the Linux kernel make use of slab caches,
 specially marking these caches with \co{SLAB_TYPESAFE_BY_RCU}
 so that RCU is used when returning a freed-up

base-commit: a8f5948a1b8921941bf4039e278aa7929f64c322

Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 defer, future: Fix typos (traversal, indispensable)

---
 defer/rcuapi.tex         | 2 +-
 defer/rcufundamental.tex | 2 +-
 future/formalregress.tex | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
defer/rcuapi.tex +1 -1
index a37a6f26..ee939341 100644
@@ -440,7 +440,7 @@ Pointer publish &
 	\tco{RCU_POINTER_INITIALIZER()} &
 		Compile-time constant \\
 \midrule
-Pointer subscribe (traveral) &
+Pointer subscribe (traversal) &
 	\tco{rcu_access_pointer()} &
 		Simple instructions \\
 &
defer/rcufundamental.tex +1 -1
index 109221fd..f4c6f2a9 100644
@@ -486,7 +486,7 @@ during the full traversal (B, C, and~D), and might or might not
 encounter data items that were present for only part of the
 traversal (A and~E)\@.
 Therefore, in this particular case, it is perfectly legitimate for
-the reader traveral to encounter all five elements.
+the reader traversal to encounter all five elements.
 If this outcome is problematic, another way to resolve this situation is
 through use of stronger synchronization mechanisms, such as reader-writer
 locking, or clever use of timestamps and versioning.
future/formalregress.tex +1 -1
index d5babe82..12d3e5d8 100644
@@ -714,4 +714,4 @@ Just not for regression testing.
 However, this might well change.
 After all, formal verification tools made impressive strides in the 2010s.
 If that progress continues, formal verification might well become an
-indispensible tool in the parallel programmer's validation toolbox.
+indispensable tool in the parallel programmer's validation toolbox.
Signature · 1 line
2.17.1
#2 lore raw
In reply to Akira Yokosawa
Quoted 4 lines · Akira Yokosawa

Subsection of "Type-Safe Memory" was moved upward in commit e22df8aea3f2 ("defer/rcuusage: Move type-safe-memory section").

I queued and pushed both, thank you!

Thanx, Paul

Quoted 32 lines

---
Hi Paul,

This patch and the next are last minute nitpicks for the upcoming release.

Thanks, Akira
--

 defer/rcuusage.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
defer/rcuusage.tex +3 -2
index 3fbe73be..811dd32a 100644
@@ -588,8 +588,9 @@ element being freed and reallocated as the same type of structure
 while they are referencing it, but must prohibit a change in type.
 This guarantee, called ``type-safe memory'' in
 academic literature~\cite{Cheriton96a},
-is weaker than the existence guarantees in the
-previous section, and is therefore quite a bit harder to work with.
+is weaker than the existence guarantees discussed
+in \cref{sec:defer:Existence Guarantee},
+and is therefore quite a bit harder to work with.
 Type-safe memory algorithms in the Linux kernel make use of slab caches,
 specially marking these caches with \co{SLAB_TYPESAFE_BY_RCU}
 so that RCU is used when returning a freed-up

base-commit: a8f5948a1b8921941bf4039e278aa7929f64c322

Signature · 1 line
2.17.1