Return-Path: Received: from mail.kernel.org ([198.145.29.99]:56938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728522AbgBNJpm (ORCPT ); Fri, 14 Feb 2020 04:45:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581673542; bh=Mi2/MH0gmasZCrJ4QH3OH6sGVgvxn3sjFUKA7aQ/9ms=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=RnzRPHiA+LlY3UioCr+ha+t4Z/rwQguaSls+q3Y1klc2JudNLpmHrmmpX7ctIAaY/ 0TJ3yOknEZ1O+h+gEUDW1bWklzqzDyAQSC4rea81GXTgNoV8yBZwSrSIq0xSFfZfSb 55NFxuyax7n9QmXMyfYZnj1bM8XSbxxr4I0x9abE= Date: Fri, 14 Feb 2020 01:45:40 -0800 From: "Paul E. McKenney" Subject: Re: [PATCH] datastruct.tex: fix some minor typos Message-ID: <20200214094540.GA10350@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200212143457.GA25828@PhD> <47d5dcd4-64e5-57fa-4834-26d077712de6@gmail.com> <20200214004028.GA5058@PhD> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200214004028.GA5058@PhD> Sender: perfbook-owner@vger.kernel.org List-ID: To: Junchang Wang Cc: Akira Yokosawa , perfbook@vger.kernel.org, junchangwang@gmail.com On Fri, Feb 14, 2020 at 08:40:34AM +0800, Junchang Wang wrote: > On Fri, Feb 14, 2020 at 12:28:24AM +0900, Akira Yokosawa wrote: > >Hi, Junchang, > > > >On Wed, 12 Feb 2020 22:35:15 +0800, Junchang Wang wrote: > >> Signed-off-by: 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(-) > >> > >> diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex > >> index 4b62471..e21952b 100644 > >> --- a/datastruct/datastruct.tex > >> +++ b/datastruct/datastruct.tex > >> @@ -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 > > > >Thanks for catching this! > > > > Hi Akira, > > I'm very happy that it helps. > > >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! > > > 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 (junchang2020@gmail.com) > 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