Skip to contentSkip to conversation

datastruct.tex: fix some minor typos

PATCH In review Junchang Wang 3 participants 6 messages Feb 12, 2020 – Feb 14, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 datastruct.tex: fix some minor typos

---

Hi Paul,

I'm reading the latest version of the perfbook and this patch contains fixes to some typos in Section Data Structures. Hope it helps.

Thanks,
--Junchang

--

 datastruct/datastruct.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
datastruct/datastruct.tex +4 -4
index 4b62471..e21952b 100644
@@ -700,7 +700,7 @@ Of course, it is quite possible that the differences in lookup performance
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU.
-Doing so does not significantly improve the lookup performace of
+Doing so does not significantly improve the lookup performance of
 per-bucket locking, nor does it close the gap between hazard pointers
 and RCU.
 However, removing the read-side memory barriers from hazard pointers
@@ -800,8 +800,8 @@ scalability, external consistency, or all of the above.
 \section{Non-Partitionable Data Structures}
 \label{sec:datastruct:Non-Partitionable Data Structures}
 %
-\epigraph{Undertake somthing difficult, otherwise you will never grow.}
-	 {\emph{Ronald E.~Osburn}}
+\epigraph{Undertake something difficult, otherwise you will never grow.}
+	 {\emph{Ronald E.~Osborn}}
 
 \begin{figure}[tb]
 \centering
@@ -1063,7 +1063,7 @@ Otherwise, a concurrent resize operation has already distributed this
 bucket, so line~\lnref{new_hashtbl} proceeds to the new hash table,
 line~\lnref{get_newbkt} selects the bucket corresponding to the key,
 and line~\lnref{acq_newbkt} acquires the bucket's lock.
-\Clnref{lsp1b}{lsp1e} store the bucket pointer and
+\Clnrefrange{lsp1b}{lsp1e} store the bucket pointer and
 pointer-set index into their respective fields in the
 \co{ht_lock_state} structure, which again communicates this information to
 \co{hashtab_add()}, \co{hashtab_del()}, and \co{hashtab_unlock_mod()}.
Signature · 1 line
2.7.4
#1 lore raw

Hi, Junchang,

Quoted 40 lines · Junchang Wang

---

Hi Paul,

I'm reading the latest version of the perfbook and this patch contains fixes to some typos in Section Data Structures. Hope it helps.

Thanks,
--Junchang

--

 datastruct/datastruct.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
datastruct/datastruct.tex +3 -3
index 4b62471..e21952b 100644
@@ -700,7 +700,7 @@ Of course, it is quite possible that the differences in lookup performance
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU.
-Doing so does not significantly improve the lookup performace of
+Doing so does not significantly improve the lookup performance of
 per-bucket locking, nor does it close the gap between hazard pointers
 and RCU.
 However, removing the read-side memory barriers from hazard pointers
@@ -800,8 +800,8 @@ scalability, external consistency, or all of the above.
 \section{Non-Partitionable Data Structures}
 \label{sec:datastruct:Non-Partitionable Data Structures}
 %
-\epigraph{Undertake somthing difficult, otherwise you will never grow.}
-	 {\emph{Ronald E.~Osburn}}
+\epigraph{Undertake something difficult, otherwise you will never grow.}
+	 {\emph{Ronald E.~Osborn}}
 
 \begin{figure}[tb]
 \centering

datastruct/datastruct.tex Otherwise, a concurrent resize operation has already distributed this · line 1066

Quoted 5 lines
datastruct/datastruct.tex +1 -1
@@ -1063,7 +1063,7 @@ Otherwise, a concurrent resize operation has already distributed this
 bucket, so line~\lnref{new_hashtbl} proceeds to the new hash table,
 line~\lnref{get_newbkt} selects the bucket corresponding to the key,
 and line~\lnref{acq_newbkt} acquires the bucket's lock.
-\Clnref{lsp1b}{lsp1e} store the bucket pointer and
+\Clnrefrange{lsp1b}{lsp1e} store the bucket pointer and

Thanks for catching this!

As far as I see, there is no other error in the use of \clnrefrange/\crefrange at the moment.
To prevent similar typos in the future, I'll add a check of this pattern somewhere in the build script.

Thanks, Akira

PS:

The email address in the From: field does not match the SOB tag. Is this intentional?

Quoted 4 lines
datastruct/datastruct.tex +0 -0
 pointer-set index into their respective fields in the
 \co{ht_lock_state} structure, which again communicates this information to
 \co{hashtab_add()}, \co{hashtab_del()}, and \co{hashtab_unlock_mod()}.
#2 lore raw
Quoted 40 lines · Akira Yokosawa

Hi, Junchang,

Quoted 37 lines · Junchang Wang

---

Hi Paul,

I'm reading the latest version of the perfbook and this patch contains fixes to some typos in Section Data Structures. Hope it helps.

Thanks,
--Junchang

--

 datastruct/datastruct.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
datastruct/datastruct.tex +3 -3
index 4b62471..e21952b 100644
@@ -700,7 +700,7 @@ Of course, it is quite possible that the differences in lookup performance
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU.
-Doing so does not significantly improve the lookup performace of
+Doing so does not significantly improve the lookup performance of
 per-bucket locking, nor does it close the gap between hazard pointers
 and RCU.
 However, removing the read-side memory barriers from hazard pointers
@@ -800,8 +800,8 @@ scalability, external consistency, or all of the above.
 \section{Non-Partitionable Data Structures}
 \label{sec:datastruct:Non-Partitionable Data Structures}
 %
-\epigraph{Undertake somthing difficult, otherwise you will never grow.}
-	 {\emph{Ronald E.~Osburn}}
+\epigraph{Undertake something difficult, otherwise you will never grow.}
+	 {\emph{Ronald E.~Osborn}}
 
Quoted 10 lines

datastruct/datastruct.tex Otherwise, a concurrent resize operation has already distributed this · line 1066

Quoted 8 lines
datastruct/datastruct.tex +1 -1
 \begin{figure}[tb]
 \centering
@@ -1063,7 +1063,7 @@ Otherwise, a concurrent resize operation has already distributed this
 bucket, so line~\lnref{new_hashtbl} proceeds to the new hash table,
 line~\lnref{get_newbkt} selects the bucket corresponding to the key,
 and line~\lnref{acq_newbkt} acquires the bucket's lock.
-\Clnref{lsp1b}{lsp1e} store the bucket pointer and
+\Clnrefrange{lsp1b}{lsp1e} store the bucket pointer and

Thanks for catching this!

And from me as well! Queued and pushed, thank you!

Quoted 4 lines

As far as I see, there is no other error in the use of \clnrefrange/\crefrange at the moment.
To prevent similar typos in the future, I'll add a check of this pattern somewhere in the build script.

Looking forward to it!

Quoted 4 lines

PS:

The email address in the From: field does not match the SOB tag. Is this intentional?

I made the Signed-off-by: field match the From: field. This can be changed if need be.

Thanx, Paul

Quoted 4 lines
Quoted 4 lines
datastruct/datastruct.tex +0 -0
 pointer-set index into their respective fields in the
 \co{ht_lock_state} structure, which again communicates this information to
 \co{hashtab_add()}, \co{hashtab_del()}, and \co{hashtab_unlock_mod()}.
#3 lore raw

Hi Paul,

Quoted 52 lines · Paul E. McKenney
Quoted 40 lines · Akira Yokosawa

Hi, Junchang,

Quoted 37 lines · Junchang Wang

---

Hi Paul,

I'm reading the latest version of the perfbook and this patch contains fixes to some typos in Section Data Structures. Hope it helps.

Thanks,
--Junchang

--

 datastruct/datastruct.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
datastruct/datastruct.tex +3 -3
index 4b62471..e21952b 100644
@@ -700,7 +700,7 @@ Of course, it is quite possible that the differences in lookup performance
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU.
-Doing so does not significantly improve the lookup performace of
+Doing so does not significantly improve the lookup performance of
 per-bucket locking, nor does it close the gap between hazard pointers
 and RCU.
 However, removing the read-side memory barriers from hazard pointers
@@ -800,8 +800,8 @@ scalability, external consistency, or all of the above.
 \section{Non-Partitionable Data Structures}
 \label{sec:datastruct:Non-Partitionable Data Structures}
 %
-\epigraph{Undertake somthing difficult, otherwise you will never grow.}
-	 {\emph{Ronald E.~Osburn}}
+\epigraph{Undertake something difficult, otherwise you will never grow.}
+	 {\emph{Ronald E.~Osborn}}
 
Quoted 10 lines

datastruct/datastruct.tex Otherwise, a concurrent resize operation has already distributed this · line 1066

Quoted 8 lines
datastruct/datastruct.tex +1 -1
 \begin{figure}[tb]
 \centering
@@ -1063,7 +1063,7 @@ Otherwise, a concurrent resize operation has already distributed this
 bucket, so line~\lnref{new_hashtbl} proceeds to the new hash table,
 line~\lnref{get_newbkt} selects the bucket corresponding to the key,
 and line~\lnref{acq_newbkt} acquires the bucket's lock.
-\Clnref{lsp1b}{lsp1e} store the bucket pointer and
+\Clnrefrange{lsp1b}{lsp1e} store the bucket pointer and

Thanks for catching this!

Quoted 2 lines

And from me as well! Queued and pushed, thank you!

Thank you for writing this great book. I'm very happy that I can help :-)

Quoted 7 lines
Quoted 4 lines

As far as I see, there is no other error in the use of \clnrefrange/\crefrange at the moment.
To prevent similar typos in the future, I'll add a check of this pattern somewhere in the build script.

Looking forward to it!

Quoted 8 lines
Quoted 4 lines

PS:

The email address in the From: field does not match the SOB tag. Is this intentional?

I made the Signed-off-by: field match the From: field. This can be changed if need be.

I'll use the new email address ([email protected]) in my Signed-off-by message in the future. So it's not necessary for you to change what you have done. Sorry for confusing you and Akira.

Thanks,
--Junchang

Quoted 6 lines

Thanx, Paul

Quoted 4 lines
Quoted 4 lines
datastruct/datastruct.tex +0 -0
 pointer-set index into their respective fields in the
 \co{ht_lock_state} structure, which again communicates this information to
 \co{hashtab_add()}, \co{hashtab_del()}, and \co{hashtab_unlock_mod()}.
#4 lore raw
In reply to Akira Yokosawa
Quoted 40 lines · Akira Yokosawa

Hi, Junchang,

Quoted 37 lines · Junchang Wang

---

Hi Paul,

I'm reading the latest version of the perfbook and this patch contains fixes to some typos in Section Data Structures. Hope it helps.

Thanks,
--Junchang

--

 datastruct/datastruct.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
datastruct/datastruct.tex +3 -3
index 4b62471..e21952b 100644
@@ -700,7 +700,7 @@ Of course, it is quite possible that the differences in lookup performance
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU.
-Doing so does not significantly improve the lookup performace of
+Doing so does not significantly improve the lookup performance of
 per-bucket locking, nor does it close the gap between hazard pointers
 and RCU.
 However, removing the read-side memory barriers from hazard pointers
@@ -800,8 +800,8 @@ scalability, external consistency, or all of the above.
 \section{Non-Partitionable Data Structures}
 \label{sec:datastruct:Non-Partitionable Data Structures}
 %
-\epigraph{Undertake somthing difficult, otherwise you will never grow.}
-	 {\emph{Ronald E.~Osburn}}
+\epigraph{Undertake something difficult, otherwise you will never grow.}
+	 {\emph{Ronald E.~Osborn}}
 
Quoted 11 lines

datastruct/datastruct.tex Otherwise, a concurrent resize operation has already distributed this · line 1066

Quoted 8 lines
datastruct/datastruct.tex +1 -1
 \begin{figure}[tb]
 \centering
@@ -1063,7 +1063,7 @@ Otherwise, a concurrent resize operation has already distributed this
 bucket, so line~\lnref{new_hashtbl} proceeds to the new hash table,
 line~\lnref{get_newbkt} selects the bucket corresponding to the key,
 and line~\lnref{acq_newbkt} acquires the bucket's lock.
-\Clnref{lsp1b}{lsp1e} store the bucket pointer and
+\Clnrefrange{lsp1b}{lsp1e} store the bucket pointer and

Thanks for catching this!

Hi Akira,

I'm very happy that it helps.

Quoted 5 lines

As far as I see, there is no other error in the use of \clnrefrange/\crefrange at the moment.
To prevent similar typos in the future, I'll add a check of this pattern somewhere in the build script.

Sounds great!

Quoted 6 lines

Thanks, Akira

PS:

The email address in the From: field does not match the SOB tag. Is this intentional?

Oops. I decided to use the new email address ([email protected]) to handle emails from mailing lists but forgot to update the SOB message. Thanks a lot for letting me know this. I'll update my .gitconfig accordingly and use the new SOB message in the future.

Thanks,
--Junchang

Quoted 5 lines
Quoted 5 lines
datastruct/datastruct.tex +0 -0
 pointer-set index into their respective fields in the
 \co{ht_lock_state} structure, which again communicates this information to
 \co{hashtab_add()}, \co{hashtab_del()}, and \co{hashtab_unlock_mod()}.
#5 lore raw
Quoted 69 lines · Junchang Wang
Quoted 40 lines · Akira Yokosawa

Hi, Junchang,

Quoted 37 lines · Junchang Wang

---

Hi Paul,

I'm reading the latest version of the perfbook and this patch contains fixes to some typos in Section Data Structures. Hope it helps.

Thanks,
--Junchang

--

 datastruct/datastruct.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
datastruct/datastruct.tex +3 -3
index 4b62471..e21952b 100644
@@ -700,7 +700,7 @@ Of course, it is quite possible that the differences in lookup performance
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU.
-Doing so does not significantly improve the lookup performace of
+Doing so does not significantly improve the lookup performance of
 per-bucket locking, nor does it close the gap between hazard pointers
 and RCU.
 However, removing the read-side memory barriers from hazard pointers
@@ -800,8 +800,8 @@ scalability, external consistency, or all of the above.
 \section{Non-Partitionable Data Structures}
 \label{sec:datastruct:Non-Partitionable Data Structures}
 %
-\epigraph{Undertake somthing difficult, otherwise you will never grow.}
-	 {\emph{Ronald E.~Osburn}}
+\epigraph{Undertake something difficult, otherwise you will never grow.}
+	 {\emph{Ronald E.~Osborn}}
 
Quoted 11 lines

datastruct/datastruct.tex Otherwise, a concurrent resize operation has already distributed this · line 1066

Quoted 8 lines
datastruct/datastruct.tex +1 -1
 \begin{figure}[tb]
 \centering
@@ -1063,7 +1063,7 @@ Otherwise, a concurrent resize operation has already distributed this
 bucket, so line~\lnref{new_hashtbl} proceeds to the new hash table,
 line~\lnref{get_newbkt} selects the bucket corresponding to the key,
 and line~\lnref{acq_newbkt} acquires the bucket's lock.
-\Clnref{lsp1b}{lsp1e} store the bucket pointer and
+\Clnrefrange{lsp1b}{lsp1e} store the bucket pointer and

Thanks for catching this!

Hi Akira,

I'm very happy that it helps.

Quoted 5 lines

As far as I see, there is no other error in the use of \clnrefrange/\crefrange at the moment.
To prevent similar typos in the future, I'll add a check of this pattern somewhere in the build script.

Sounds great!

Quoted 4 lines

Thanks, Akira

PS:

Quoted 7 lines
Quoted 2 lines

The email address in the From: field does not match the SOB tag. Is this intentional?

Oops. I decided to use the new email address ([email protected]) to handle emails from mailing lists but forgot to update the SOB message. Thanks a lot for letting me know this. I'll update my .gitconfig accordingly and use the new SOB message in the future.

No worries!

I recently went through email address changes myself, after all, so I sympathize completely. ;-)

Thanx, Paul