This commit fixes trivial typos under `advsync/` directory. Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx> --- advsync/advsync.tex | 4 ++-- advsync/memorybarriers.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/advsync/advsync.tex b/advsync/advsync.tex index 7250e96..118dc74 100644 --- a/advsync/advsync.tex +++ b/advsync/advsync.tex @@ -30,7 +30,7 @@ gives a brief overview of non-blocking synchronization. Although locking is the workhorse of parallelism in production, in many situations performance, scalability, and real-time response can -all be greatly improved though use of lockless techniques. +all be greatly improved through use of lockless techniques. A particularly impressive example of such a lockless technique are the statistical counters describe in Section~\ref{sec:count:Statistical Counters}, @@ -45,7 +45,7 @@ Other examples we have covered include: Section~\ref{sec:SMPdesign:Resource Allocator Caches}. \item The maze solver in Section~\ref{sec:SMPdesign:Beyond Partitioning}. \item The data-ownership techniques described in - Section~\ref{chp:Data Ownership}. + Chapter~\ref{chp:Data Ownership}. \item The reference-counting and RCU techinques described in Chapter~\ref{chp:Deferred Processing}. \item The lookup code paths described in Chapter~\ref{chp:Data Structures}. diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex index 99e074d..c668f3c 100644 --- a/advsync/memorybarriers.tex +++ b/advsync/memorybarriers.tex @@ -759,7 +759,7 @@ these combinations in order to fully understand how this works. it is not possible for one of the loads to see the results of the other load. However, if we know that CPU~2's load from B returned a - newer value than CPU~1's load from B, the we also know + newer value than CPU~1's load from B, then we also know that CPU~2's load from A returned either the same value as CPU~1's load from A or some later value. @@ -1047,7 +1047,7 @@ a few simple rules: by the first CPU, then the second CPU's load from A must give the value stored by the first CPU. \item If one CPU does a load from A ordered before a store to B, - and if a second CPU does a load from B ordered before a store from A, + and if a second CPU does a load from B ordered before a store to A, and if the second CPU's load from B gives the value stored by the first CPU, then the first CPU's load from A must \emph{not} give the value stored by the second CPU. -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html