From: SeongJae Park <sj38.park@gmail.com>
To: paulmck@linux.vnet.ibm.com
Cc: perfbook@vger.kernel.org, SeongJae Park <sj38.park@gmail.com>
Subject: [PATCH 1/8] together: Add missing NBSPs for line numbers
Date: Tue, 11 Oct 2016 08:07:31 +0900 [thread overview]
Message-ID: <20161010230738.14452-2-sj38.park@gmail.com> (raw)
In-Reply-To: <20161010230738.14452-1-sj38.park@gmail.com>
This commit adds few missed NBSP(Non-Breaking Space)s for line number
quotations.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
together/applyrcu.tex | 6 +++---
together/refcnt.tex | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/together/applyrcu.tex b/together/applyrcu.tex
index 15039f645acc..659928877c00 100644
--- a/together/applyrcu.tex
+++ b/together/applyrcu.tex
@@ -208,17 +208,17 @@ Lines~10-13 show \co{inc_count()}, which is unchanged from
Figure~\ref{fig:count:Per-Thread Statistical Counters}.
Lines~15-29 show \co{read_count()}, which has changed significantly.
-Lines~21 and 27 substitute \co{rcu_read_lock()} and
+Lines~21 and~27 substitute \co{rcu_read_lock()} and
\co{rcu_read_unlock()} for acquisition and release of \co{final_mutex}.
Line~22 uses \co{rcu_dereference()} to snapshot the
current \co{countarray} structure into local variable \co{cap}.
Proper use of RCU will guarantee that this \co{countarray} structure
will remain with us through at least the end of the current RCU
read-side critical section at line~27.
-Line 23 initializes \co{sum} to \co{cap->total}, which is the
+Line~23 initializes \co{sum} to \co{cap->total}, which is the
sum of the counts of threads that have previously exited.
Lines~24-26 add up the per-thread counters corresponding to currently
-running threads, and, finally, line 28 returns the sum.
+running threads, and, finally, line~28 returns the sum.
The initial value for \co{countarrayp} is
provided by \co{count_init()} on lines~31-39.
diff --git a/together/refcnt.tex b/together/refcnt.tex
index 778ad8e9da24..587a067f7501 100644
--- a/together/refcnt.tex
+++ b/together/refcnt.tex
@@ -504,7 +504,7 @@ Line~6 invokes \co{rcu_read_lock()}, which
enters an RCU read-side critical section.
The callback function from any subsequent \co{call_rcu()} primitive
will be deferred until a matching \co{rcu_read_unlock()} is reached
-(line~10 or 14 in this example).
+(line~10 or~14 in this example).
Line~7 looks up the file structure corresponding to the file
descriptor specified by the \co{fd} argument, as will be
described later.
--
2.10.0
next prev parent reply other threads:[~2016-10-10 23:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-10 23:07 [PATCH 0/8] Fixups for together/ directory SeongJae Park
2016-10-10 23:07 ` SeongJae Park [this message]
2016-10-10 23:07 ` [PATCH 2/8] together: Fix a wrong code line quotation SeongJae Park
2016-10-10 23:07 ` [PATCH 3/8] together: Fix wrong function name quotations SeongJae Park
2016-10-10 23:07 ` [PATCH 4/8] together: Add a missing comma SeongJae Park
2016-10-10 23:07 ` [PATCH 5/8] together: Append `()` suffix to function name quotation SeongJae Park
2016-10-10 23:07 ` [PATCH 6/8] together: Fix a wrong field citation SeongJae Park
2016-10-10 23:07 ` [PATCH 7/8] together: Fix a contextual typo SeongJae Park
2016-10-10 23:07 ` [PATCH 8/8] together: Improve struct field quotation readability SeongJae Park
2016-10-11 7:31 ` [PATCH 0/8] Fixups for together/ directory Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161010230738.14452-2-sj38.park@gmail.com \
--to=sj38.park@gmail.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=perfbook@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.