On 2017/11/18 12:10:27 -0800, Paul E. McKenney wrote: > On Sun, Nov 19, 2017 at 12:07:02AM +0900, Akira Yokosawa wrote: >> >From a2d0cd80fb99a15bd5265f12863ac8f0183f9a9b Mon Sep 17 00:00:00 2001 >> From: Akira Yokosawa <akiyks@xxxxxxxxx> >> Date: Sat, 18 Nov 2017 23:39:26 +0900 >> Subject: [PATCH 3/3] memorder: Fix trivial typo >> >> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> > > I applied all three, and especially like the script taking up some > of the manual handling of quick quizzes with figures! > > One thing I left out, please see below. > > Thanx, Paul > >> --- >> memorder/memorder.tex | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/memorder/memorder.tex b/memorder/memorder.tex >> index 68dc09b..d11df62 100644 >> --- a/memorder/memorder.tex >> +++ b/memorder/memorder.tex >> @@ -10,7 +10,7 @@ Causality and sequencing are deeply intuitive, and hackers often >> tend to have a much stronger grasp of these concepts than does >> the general population. >> These intuitions can be extremely powerful tools when writing, analyzing, >> -and debugging both sequential code and parallel code that makes >> +and debugging both sequential code and parallel code that make >> use of standard mutual-exclusion mechanisms, such as locking and >> RCU. >> Unfortunately, these intuitions break down completely in face of > > If it was "intuitions" that made use of "standard mutual-exclusion > mechanisms", this fix would be correct. Plural "intuitions" would > require plural "make". (And no, I have no idea why English adds "s" > to nouns to denote plural, but removes "s" from verbs to denote plural. > Probably because it is English...) > > But it is "code" that made use of "standard mutual-exclusion mechanisms". > I am treating "code" like "water", that is, "lines of code" would be > plural (like "molecules of water"), but "code" is singular (like "water"). I see. What happened in my mind was a dumb pattern match with: "Both X and Y that makes use of ..." > > I also treat "data" as singular, that is, as a collective noun. This > is controversial, and people who like "data" to be plural probably also > like "code" to be plural when referring to lines of code. > > https://en.wikipedia.org/wiki/Data_(word) > > And it appears that most people are now willing to put up with "data" > as a collective noun when applied to computers. Others are probably > still protesting that "data" is the plural form of "datum" in Latin. > > But, yes, English! :-/ Yes. "data" always bother/bothers me... :-( Thanks, Akira > > Thanx, Paul > >> @@ -38,7 +38,7 @@ follows up with more detail on what representative hardware platforms >> actually do to unwary parallel programmers. >> Finally, Section~\ref{sec:memorder:Where is Memory Ordering Needed?} >> provides some rules of thumb for what situations require parallel >> -programmers to take special action to preserver memory ordering. >> +programmers to take special action to preserve memory ordering. >> >> \section{Ordering: Why and How?} >> \label{sec:memorder:Ordering: Why and How?} >> -- >> 2.7.4 >> >> > > -- 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