Skip to contentSkip to conversation

Cite recent editions of textbooks; Fix indexing macro

PATCH In review Akira Yokosawa 2 participants 6 messages Mar 8, 2021

lore
Share & tools
lore
#0 lore raw

cover Cite recent editions of textbooks; Fix indexing macro

Hi Paul,

This patch set adds citations to a couple of recent textbooks in howto's "Alternatives to This Book".
It also includes fixes of \ppl*{} macro usages.

Patch 1/4 adds some of recent editions of "classic" textbooks mentioned in "Alternatives to This Book". It also adds/fixes a few doi info elsewhere.

Patch 2/4 updates howto.tex to add citations to those textbooks.

I have not checked if those recent editions keep the contents referred to in this section, though. Especially, "C++ Concurrency in Action, 2nd Edition" has omitted the sub title of "Practical Multithreading".

So there might be a room to adjust context in the list.

Patch 2/4 also fixes a few issues of \ppl{}{} macro usages. Index markings of "Hennessy" and "Patterson" you added in commit dbafd71e3c2e ("howto: Updates and wordsmithing") don't match existing markings in cpu.tex, which resulted in duplicates in the the Index page.
Also, as they are pretty famous professors, I used \pplsur{}{} to display only their family names.

Patches 3/4 and 4/4 are minor updates to use fully spelled first names in index where possible.

Akira Yokosawa (4):
bib: Add recent editions of textbooks
howto: Cite recent editions of textbooks
defer/rcurelated: Spell first names of Lehman and Weizenbaum for index bib/RCU: Spell first name of Lehman in Kung80

 bib/RCU.bib          |  2 +-
 bib/hw.bib           | 10 ++++++++++
 bib/os.bib           |  7 +++++++
 bib/parallelsys.bib  |  8 +++++---
 bib/syncrefs.bib     | 28 ++++++++++++++++++++++++++++
 cpu/cpu.tex          |  2 +-
 defer/rcurelated.tex |  4 ++--
 howto/howto.tex      | 19 ++++++++++---------
 8 files changed, 64 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/4 bib: Add recent editions of textbooks

o The Art of Multiprocessor Programming, Second Edition
o A Primer on Memory Consistency and Cache Coherence, Second Edition
o Advanced Programming in the UNIX Environment, 3rd Edition
o Programming Language Pragmatics, 4th Edition
o C++ Concurrency in Action, 2nd Edition

Other update/fix:

o Add doi to Dijkstra1971HOoSP
o Fix doi and other info in GeneAmdahl1967AmdahlsLaw (Previous info was of the reprint published in 2007)

---
 bib/hw.bib          | 10 ++++++++++
 bib/os.bib          |  7 +++++++
 bib/parallelsys.bib |  8 +++++---
 bib/syncrefs.bib    | 28 ++++++++++++++++++++++++++++
 4 files changed, 50 insertions(+), 3 deletions(-)
bib/hw.bib +10 -0
index 23e252d5..2ece29d6 100644
@@ -948,6 +948,16 @@ Luis Stevens and Anoop Gupta and John Hennessy",
  doi="10.2200/S00346ED1V01Y201104CAC016",
 }
 
+@book{VijayNagarajan2020MemModel,
+ title="A Primer on Memory Consistency and Cache Coherence, Second Edition",
+ author="Vijay Nagarajan and Daniel J. Sorin and Mark D. Hill and David A. Wood",
+ publisher="Morgan \& Claypool",
+ year="2020",
+ isbn="9781681737119",
+ series="Synthesis Lectures on Computer Architecture",
+ doi="10.2200/S00962ED2V01Y201910CAC049",
+}
+
 @article{Kim:2014:FBM:2678373.2665726,
  author = {Kim, Yoongu and Daly, Ross and Kim, Jeremie and Fallin, Chris and Lee, Ji Hye and Lee, Donghyuk and Wilkerson, Chris and Lai, Konrad and Mutlu, Onur},
  title = {Flipping Bits in Memory Without Accessing Them: An Experimental Study of DRAM Disturbance Errors},
bib/os.bib +7 -0
index 5e902061..3ae9b617 100644
@@ -30,6 +30,13 @@
  year="1992",
 }
 
+@book{WRichardStevens2013,
+ author="W. Richard Stevens",
+ title="Advanced Programming in the {UNIX} Environment, 3rd Edition",
+ publisher="Addison Wesley",
+ year="2013",
+}
+
 @Conference{MichaelYThompson1988LazyTLB,
  Author =  "Michael Y. Thompson and J. M. Barton and T. A. Jermoluk and J. C. Wagner",
  Title = "Translation Lookaside Buffer Synchronization in a Multiprocessor System",
bib/parallelsys.bib +5 -3
index d13dafc1..5423e25b 100644
@@ -5,9 +5,11 @@
  Booktitle = "AFIPS Conference Proceedings",
  year="1967",
  pages={483--485},
- publisher={IEEE Computer Society},
- address={Washington, DC, USA},
- doi={10.1109/N-SSC.2007.4785615},
+ publisher={Association for Computing Machinery},
+ address={New York, NY, USA},
+ doi={10.1145/1465482.1465560},
+ location = {Atlantic City, New Jersey},
+ series = {AFIPS '67 (Spring)}
 }
 
 @article{Lilja93,
bib/syncrefs.bib +28 -0
index 8278583f..436e9292 100644
@@ -269,6 +269,7 @@ Brent A Kingsbury",
  volume="1",
  number="2",
  pages="115-138",
+ doi="10.1007/BF00289519",
  note="Available:
 \url{https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD310.PDF}
 [Viewed January 13, 2008]",
@@ -890,6 +891,15 @@ Symposium on Distributed Computing},
  Address = "Burlington, MA, USA",
 }
 
+@book{HerlihyShavit2020Textbook,
+ Author = "Maurice Herlihy and Nir Shavit and Victor Luchangco and Michael Spear",
+ Title = "The Art of Multiprocessor Programming, 2nd Edition",
+ Year = "2020",
+ isbn = "978-0-12-415950-1",
+ Publisher = "Morgan Kaufmann",
+ Address = "Burlington, MA, USA",
+}
+
 @book{MichaelScott2006Textbook,
  Author = "Michael Scott",
  Title = "Programming Language Pragmatics",
@@ -899,6 +909,15 @@ Symposium on Distributed Computing},
  Address = "Burlington, MA, USA",
 }
 
+@book{MichaelScott2015Textbook,
+ Author = "Michael Scott",
+ Title = "Programming Language Pragmatics, 4th Edition",
+ Year = "2015",
+ isbn = "978-0-12-410409-9",
+ Publisher = "Morgan Kaufmann",
+ Address = "Burlington, MA, USA",
+}
+
 @book{MichaelScott2013Textbook,
  Author = "Michael L. Scott",
  Title = "Shared-Memory Synchronization",
@@ -1019,6 +1038,15 @@ Symposium on Distributed Computing},
  Address = "Shelter Island, NY, USA",
 }
 
+@book{AnthonyWilliams2019,
+ Author = "Anthony Williams",
+ Title = "C++ Concurrency in Action, 2nd Edition",
+ Year = "2019",
+ Publisher = "Manning",
+ Address = "Shelter Island, NY, USA",
+ isbn = "978-1933988771",
+}
+
 @book{NormMatloff2011ParProcBook,
  Author = "Norm Matloff",
  Title = "Programming on Parallel Machines",
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/4 howto: Cite recent editions of textbooks

In reply to Akira Yokosawa

Also fix usage of indexing macros for people's name.

---
 cpu/cpu.tex     |  2 +-
 howto/howto.tex | 19 ++++++++++---------
 2 files changed, 11 insertions(+), 10 deletions(-)
cpu/cpu.tex +1 -1
index 5a5c9d49..44b470a4 100644
@@ -16,7 +16,7 @@ This chapter therefore looks at the cost of synchronization and communication
 within a shared-memory system.
 These few pages can do no more than scratch the surface of shared-memory
 parallel hardware design; readers desiring more detail would do well
-to start with a recent edition of \pplsur{John L.}{Hennessy} and
+to start with a recent edition of \pplsur{John L.}{Hennessy}'s and
 \pplsur{David A.}{Patterson}'s classic
 text~\cite{Hennessy2017,Hennessy95a}.
 
howto/howto.tex +10 -9
index 38606625..4558aaba 100644
@@ -300,7 +300,7 @@ Fortunately, there are many alternatives available to you:
 \item	If you prefer a more academic and rigorous treatment of
 	parallel programming,
 	you might like \pplsur{Maurice P.}{Herlihy}'s and \pplsur{Nir}{Shavit}'s
-	textbook~\cite{HerlihyShavit2008Textbook}.
+	textbook~\cite{HerlihyShavit2008Textbook,HerlihyShavit2020Textbook}.
 	This book starts with an interesting combination
 	of low-level primitives at high levels of abstraction
 	from the hardware, and works its way through locking
@@ -316,7 +316,7 @@ Fortunately, there are many alternatives available to you:
 	programming from a programming\-/language\-/pragmatics viewpoint,
 	you might be interested in the concurrency chapter from
 	\pplsur{Michael}{Scott}'s
-	textbook~\cite{MichaelScott2006Textbook}
+	textbook~\cite{MichaelScott2006Textbook,MichaelScott2015Textbook}
 	on programming-language pragmatics.
 \item	If you are interested in an object-oriented patternist
 	treatment of parallel programming focussing on C++,
@@ -353,18 +353,18 @@ Fortunately, there are many alternatives available to you:
 \item	If you are interested in POSIX Threads, you might take
 	a look at \pplmdl{David R.}{Butenhof}'s book~\cite{Butenhof1997pthreads}.
 	In addition,
-	\ppl{W.~Richard}{Stevens}'s book~\cite{WRichardStevens1992}
+	\ppl{W.~Richard}{Stevens}'s book~\cite{WRichardStevens1992,WRichardStevens2013}
 	covers UNIX and POSIX, and \ppl{Stewart}{Weiss}'s lecture
 	notes~\cite{StewartWeiss2013UNIX} provide an
 	thorough and accessible introduction with a good set of
 	examples.
 \item	If you are interested in C++11, you might like
 	\ppl{Anthony}{Williams}'s ``C++ Concurrency in Action: Practical
-	Multithreading''~\cite{AnthonyWilliams2012}.
+	Multithreading''~\cite{AnthonyWilliams2012,AnthonyWilliams2019}.
 \item	If you are interested in C++, but in a Windows environment,
 	you might try \ppl{Herb}{Sutter}'s ``Effective Concurrency''
 	series in
-	Dr. Dobbs Journal~\cite{HerbSutter2008EffectiveConcurrency}.
+	Dr.~Dobbs Journal~\cite{HerbSutter2008EffectiveConcurrency}.
 	This series does a reasonable job of presenting a
 	commonsense approach to parallelism.
 \item	If you want to try out Intel Threading Building Blocks,
@@ -375,14 +375,15 @@ Fortunately, there are many alternatives available to you:
 	cache organizations affect the implementation of kernel
 	internals should take a look at \ppl{Curt}{Schimmel}'s classic
 	treatment of this subject~\cite{Schimmel:1994:USM:175689}.
-\item	If you are looking for a hardware view, \ppl{John}{Hennessy}'s and
-	\ppl{David}{Patterson}'s classic
+\item	If you are looking for a hardware view, \pplsur{John L.}{Hennessy}'s and
+	\pplsur{David A.}{Patterson}'s classic
 	textbook~\cite{Hennessy2017,Hennessy2011} is well worth a read.
 	If you are looking for an academic textbook on memory ordering,
-	that of \ppl{Daniel}{Sorin} et al.~\cite{DanielJSorin2011MemModel}
+	that of \ppl{Daniel}{Sorin} et al.~\cite{DanielJSorin2011MemModel,%
+	VijayNagarajan2020MemModel}
 	is highly recommended.
 	For a memory-ordering tutorial from a Linux-kernel viepwpoint,
-	{Paolo}{Bonzini}'s LWN series is a good place to
+	\ppl{Paolo}{Bonzini}'s LWN series is a good place to
 	start~\cite{PaoloBonzini2021lockless1,PaoloBonzini2021lockless2}.
 \item	Finally, those using Java might be well-served by \ppl{Doug}{Lea}'s
 	textbooks~\cite{DougLea1997Textbook,Goetz2007Textbook}.
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/4 defer/rcurelated: Spell first names of Lehman and Weizenbaum for index

In reply to Akira Yokosawa
---
 defer/rcurelated.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
defer/rcurelated.tex +2 -2
index 32074e74..3fb791cf 100644
@@ -10,13 +10,13 @@
 The known first mention of anything resembling RCU took the form of a bug
 report from
 \ppl{Donald}{Knuth}~\cite[page 413 of Fundamental Algorithms]{Knuth73}
-against \ppl{J.}{Weizenbaum}'s SLIP list-processing facility for
+against \ppl{Joseph}{Weizenbaum}'s SLIP list-processing facility for
 FORTRAN~\cite{Weizenbaum:1963:SLP:367593.367617}.
 Knuth was justified in reporting the bug, as SLIP had no notion of
 any sort of grace-period guarantee.
 
 The first known non-bug-report mention of anything resembling RCU appeared
-in \pplsur{H. T.}{Kung}'s and \pplsur{P.}{Lehman}'s landmark
+in \pplsur{H. T.}{Kung}'s and \pplsur{Philip L.}{Lehman}'s landmark
 paper~\cite{Kung80}.
 There was some additional use of this technique in
 academia~\cite{Manber82,Manber84,BarbaraLiskov1988ArgusCACM,Pugh90,Andrews91textbook,Pu95a,Cowan96a,Rastogi:1997:LPV:645923.671017,Gamsa99},
Signature · 1 line
2.17.1
#4 lore raw

PATCH 4/4 bib/RCU: Spell first name of Lehman in Kung80

In reply to Akira Yokosawa
---
 bib/RCU.bib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bib/RCU.bib +1 -1
index 92bc3910..96f870f4 100644
@@ -19,7 +19,7 @@
 }
 
 @article{Kung80,
- author="H. T. Kung and P. Lehman",
+ author="H. T. Kung and Philip L. Lehman",
  title="Concurrent Manipulation of Binary Search Trees",
  Year="1980",
  Month="September",
Signature · 1 line
2.17.1
#5 lore raw
In reply to Akira Yokosawa
Quoted 10 lines · Akira Yokosawa

Hi Paul,

This patch set adds citations to a couple of recent textbooks in howto's "Alternatives to This Book".
It also includes fixes of \ppl*{} macro usages.

Patch 1/4 adds some of recent editions of "classic" textbooks mentioned in "Alternatives to This Book". It also adds/fixes a few doi info elsewhere.

Quoted 7 lines

Patch 2/4 updates howto.tex to add citations to those textbooks.

I have not checked if those recent editions keep the contents referred to in this section, though. Especially, "C++ Concurrency in Action, 2nd Edition" has omitted the sub title of "Practical Multithreading".

So there might be a room to adjust context in the list.

They look good to me.

Quoted 10 lines

Patch 2/4 also fixes a few issues of \ppl{}{} macro usages. Index markings of "Hennessy" and "Patterson" you added in commit dbafd71e3c2e ("howto: Updates and wordsmithing") don't match existing markings in cpu.tex, which resulted in duplicates in the the Index page.
Also, as they are pretty famous professors, I used \pplsur{}{} to display only their family names.

Patches 3/4 and 4/4 are minor updates to use fully spelled first names in index where possible.

All applied and pushed, thank you!

Thanx, Paul

Quoted 19 lines

Akira Yokosawa (4):
bib: Add recent editions of textbooks
howto: Cite recent editions of textbooks
defer/rcurelated: Spell first names of Lehman and Weizenbaum for index bib/RCU: Spell first name of Lehman in Kung80

 bib/RCU.bib          |  2 +-
 bib/hw.bib           | 10 ++++++++++
 bib/os.bib           |  7 +++++++
 bib/parallelsys.bib  |  8 +++++---
 bib/syncrefs.bib     | 28 ++++++++++++++++++++++++++++
 cpu/cpu.tex          |  2 +-
 defer/rcurelated.tex |  4 ++--
 howto/howto.tex      | 19 ++++++++++---------
 8 files changed, 64 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.1