Skip to contentSkip to conversation

toolsoftrade: fix a typo

PATCH Applied SeongJae Park 2 participants 4 messages Feb 13, 2016 – Feb 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 toolsoftrade: fix a typo

There is a miss of a tilde between line and line number. This change fix the typo.

---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolsoftrade/toolsoftrade.tex +1 -1
index ccbe0ad..8d54d3a 100644
@@ -207,7 +207,7 @@ Otherwise, this is the parent, which checks for an error return from
 the \co{fork()} primitive on line~4, and prints an error and exits
 on lines~5-7 if so.
 Otherwise, the \co{fork()} has executed successfully, and the parent
-therefore executes line 9 with the variable \co{pid} containing the
+therefore executes line~9 with the variable \co{pid} containing the
 process ID of the child.
 
 \begin{figure}[tbp]
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 cpu: rearrange summary of chapter

Summary of chapter and introduction about following chapters is in the end part of swdesign.tex though it is not software design specific content. Moreover, the detailed introduction about following chapters is in cpu.tex, too. It would be better to gather them in one tex file. This commit gather them in cpu.tex.

---
 cpu/cpu.tex      | 13 +++++++++++++
 cpu/swdesign.tex | 13 -------------
 2 files changed, 13 insertions(+), 13 deletions(-)
cpu/cpu.tex +13 -0
index 6f1ae54..d765e71 100644
@@ -43,6 +43,19 @@ text~\cite{Hennessy95a}.
 \input{cpu/hwfreelunch}
 \input{cpu/swdesign}
 
+So, to sum up:
+
+\begin{enumerate}
+\item	The good news is that multicore systems are inexpensive and
+	readily available.
+\item	More good news:  The overhead of many synchronization operations
+	is much lower than it was on parallel systems from the early 2000s.
+\item	The bad news is that the overhead of cache misses is still high,
+	especially on large systems.
+\end{enumerate}
+
+The remainder of this book describes ways of handling this bad news.
+
 In particular,
 Chapter~\ref{chp:Tools of the Trade} will cover some of the low-level
 tools used for parallel programming,
cpu/swdesign.tex +0 -13
index cdae106..4e9e91d 100644
@@ -88,16 +88,3 @@ problem into one for which an embarrassingly parallel solution exists.
 	techniques to be used on the non-performance-critical bulk of
 	the program.
 } \QuickQuizEnd
-
-So, to sum up:
-
-\begin{enumerate}
-\item	The good news is that multicore systems are inexpensive and
-	readily available.
-\item	More good news:  The overhead of many synchronization operations
-	is much lower than it was on parallel systems from the early 2000s.
-\item	The bad news is that the overhead of cache misses is still high,
-	especially on large systems.
-\end{enumerate}
-
-The remainder of this book describes ways of handling this bad news.
Signature · 1 line
1.9.1
#2 lore raw

Re: [PATCH 2/2] cpu: rearrange summary of chapter

Quoted 7 lines · SeongJae Park

Summary of chapter and introduction about following chapters is in the end part of swdesign.tex though it is not software design specific content. Moreover, the detailed introduction about following chapters is in cpu.tex, too. It would be better to gather them in one tex file. This commit gather them in cpu.tex.

I hesitated before taking this, as I am not much on pure code-motion patches, but did eventually queue it. Thank you!

Thanx, Paul

Quoted 53 lines
---
 cpu/cpu.tex      | 13 +++++++++++++
 cpu/swdesign.tex | 13 -------------
 2 files changed, 13 insertions(+), 13 deletions(-)
cpu/cpu.tex +13 -0
index 6f1ae54..d765e71 100644
@@ -43,6 +43,19 @@ text~\cite{Hennessy95a}.
 \input{cpu/hwfreelunch}
 \input{cpu/swdesign}
 
+So, to sum up:
+
+\begin{enumerate}
+\item	The good news is that multicore systems are inexpensive and
+	readily available.
+\item	More good news:  The overhead of many synchronization operations
+	is much lower than it was on parallel systems from the early 2000s.
+\item	The bad news is that the overhead of cache misses is still high,
+	especially on large systems.
+\end{enumerate}
+
+The remainder of this book describes ways of handling this bad news.
+
 In particular,
 Chapter~\ref{chp:Tools of the Trade} will cover some of the low-level
 tools used for parallel programming,
cpu/swdesign.tex +0 -13
index cdae106..4e9e91d 100644
@@ -88,16 +88,3 @@ problem into one for which an embarrassingly parallel solution exists.
 	techniques to be used on the non-performance-critical bulk of
 	the program.
 } \QuickQuizEnd
-
-So, to sum up:
-
-\begin{enumerate}
-\item	The good news is that multicore systems are inexpensive and
-	readily available.
-\item	More good news:  The overhead of many synchronization operations
-	is much lower than it was on parallel systems from the early 2000s.
-\item	The bad news is that the overhead of cache misses is still high,
-	especially on large systems.
-\end{enumerate}
-
-The remainder of this book describes ways of handling this bad news.
Signature · 1 line
1.9.1
#3 lore raw
In reply to SeongJae Park
Quoted 4 lines · SeongJae Park

There is a miss of a tilde between line and line number. This change fix the typo.

Queued, good catch, thank you!

Thanx, Paul

Quoted 20 lines
---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolsoftrade/toolsoftrade.tex +1 -1
index ccbe0ad..8d54d3a 100644
@@ -207,7 +207,7 @@ Otherwise, this is the parent, which checks for an error return from
 the \co{fork()} primitive on line~4, and prints an error and exits
 on lines~5-7 if so.
 Otherwise, the \co{fork()} has executed successfully, and the parent
-therefore executes line 9 with the variable \co{pid} containing the
+therefore executes line~9 with the variable \co{pid} containing the
 process ID of the child.
 
 \begin{figure}[tbp]
Signature · 1 line
1.9.1