defer/rcuusage: Reflect subsection reordering
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").
Signed-off-by Akira Yokosawa <[email protected]>
---
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
@@ -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
PATCH 2/2 defer, future: Fix typos (traversal, indispensable)
Signed-off-by Akira Yokosawa <[email protected]>
--- defer/rcuapi.tex | 2 +- defer/rcufundamental.tex | 2 +- future/formalregress.tex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
defer/rcuapi.tex +1 -1
@@ -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
@@ -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
@@ -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
Paul E. McKenney
AppliedQuoted 4 lines · Akira Yokosawa
Subsection of "Type-Safe Memory" was moved upward in commit
e22df8aea3f2("defer/rcuusage: Move type-safe-memory section").Signed-off-by Akira Yokosawa <[email protected]>
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@@ -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-upbase-commit:
a8f5948a1b8921941bf4039e278aa7929f64c322Signature · 1 line
2.17.1