Skip to contentSkip to conversation

defer/seqlock: Fix read-side smp_mb wording

PATCH New Kunwu Chan 1 participant 1 message Feb 24

lore
Share & tools
lore

Kunwu Chan

author
#0 lore raw

PATCH 1/1 defer/seqlock: Fix read-side smp_mb wording

---
 defer/seqlock.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
defer/seqlock.tex +1 -1
index 3ed2f483..6d1d5b78 100644
@@ -166,7 +166,7 @@ will pass to a later call to \co{read_seqretry()}.
 	on the update side.
 	This feature is on its way into the C++ standard under the name
 	of ``asymmetric fences''~\cite{DavidGoldblatt2022asymmetricFences}.
-	Either way, this trick eliminates the update-side \co{smp_mb()}
+	Either way, this trick eliminates the read-side \co{smp_mb()}
 	overhead, which in turn makes eliminating the check more
 	attractive, arriving again at the form of the code shown in
 	\cref{lst:defer:Sequence-Locked Pre-BSD Routing Table Lookup}.
Signature · 1 line
2.25.1