public inbox for perfbook@vger.kernel.org
 help / color / mirror / Atom feed
From: SeongJae Park <sj@kernel.org>
To: paulmck@kernel.org
Cc: SeongJae Park <sj38.park@gmail.com>, perfbook@vger.kernel.org
Subject: [PATCH 04/13] defer/rcuapi: Use \co{} for boolean return value
Date: Thu, 24 Nov 2022 10:57:54 -0800	[thread overview]
Message-ID: <20221124185803.8150-6-sj@kernel.org> (raw)
In-Reply-To: <20221124185803.8150-1-sj@kernel.org>

From: SeongJae Park <sj38.park@gmail.com>

\co{} is used for some boolean return value and not for some other case.
To make it consistent, use \co{} for all.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
 defer/rcuapi.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/defer/rcuapi.tex b/defer/rcuapi.tex
index 425c64ff..9ac2d26c 100644
--- a/defer/rcuapi.tex
+++ b/defer/rcuapi.tex
@@ -785,7 +785,7 @@ Should a reader encounter a \co{NULL} pointer not matching the index of
 the bucket it started from, that reader knows that an element it was
 traversing was moved to some other bucket during the traversal, taking
 that reader with it.
-The reader can use the \apik{is_a_nulls()} function (which returns true
+The reader can use the \apik{is_a_nulls()} function (which returns \co{true}
 if passed an \co{hlist_nulls} \co{NULL} pointer) to determine when
 it reaches the end of a list, and the \apik{get_nulls_value()} function
 (which returns its argument's \co{NULL}-pointer identifier) to fetch
@@ -1156,7 +1156,7 @@ type of RCU read-side critical section.
 
 Because \co{rcu_read_lock()} cannot be used from the idle loop,
 and because energy-efficiency concerns have caused the idle loop
-to become quite ornate, \apik{rcu_is_watching()} returns true if
+to become quite ornate, \apik{rcu_is_watching()} returns \co{true} if
 invoked in a context where use of \co{rcu_read_lock()} is legal.
 Note again that \co{srcu_read_lock()} may be used from idle and
 even offline CPUs, which means that \co{rcu_is_watching()} does not
-- 
2.17.1


  parent reply	other threads:[~2022-11-24 18:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 18:57 [PATCH 00/13] Minor fixes for defer/ SeongJae Park
2022-11-24 18:57 ` [PATCH 01/13] defer/rcuintro: Clearly point the QSBR described section SeongJae Park
2022-11-24 18:57 ` [PATCH 02/13] defer/rcufundamental: Add non-breaking spaces SeongJae Park
2022-11-24 18:57 ` [PATCH 03/13] defer/rcuapi: Add missed unbreakable spaces SeongJae Park
2022-11-24 18:57 ` SeongJae Park [this message]
2022-11-24 18:57 ` [PATCH 05/13] defer/seqlock: Use \co{} for boolean return value SeongJae Park
2022-11-24 18:57 ` [PATCH 06/13] defer/rcuusage: Call paragraphs paragraphs, not sections SeongJae Park
2022-11-24 18:57 ` [PATCH 07/13] defer/rcuusage: Provide the reference to synchronous RCU update-side primitives SeongJae Park
2022-11-24 18:57 ` [PATCH 08/13] defer/rcuusage: Add a missed unbreakable space SeongJae Park
2022-11-24 18:57 ` [PATCH 09/13] defer/rcuusage: Add missing '()' for 'rcu_dereference()' SeongJae Park
2022-11-24 18:58 ` [PATCH 10/13] defer/rcuusage: Fix wrong function name: s/timer_stop/nmi_stop/ SeongJae Park
2022-11-24 18:58 ` [PATCH 11/13] defer/rcurelated: Remove unopen closing parentheses SeongJae Park
2022-11-24 18:58 ` [PATCH 12/13] defer/whichtochoose: Fix a wrongly positioned unbreakable space SeongJae Park
2022-11-24 18:58 ` [PATCH 13/13] defer/whichtochoose: Remove an unnecessary space SeongJae Park
2022-11-24 20:48 ` [PATCH 00/13] Minor fixes for defer/ Paul E. McKenney
2022-11-24 20:56   ` SeongJae Park

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=20221124185803.8150-6-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=paulmck@kernel.org \
    --cc=perfbook@vger.kernel.org \
    --cc=sj38.park@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox