All of lore.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 05/13] defer/seqlock: Use \co{} for boolean return value
Date: Thu, 24 Nov 2022 10:57:55 -0800	[thread overview]
Message-ID: <20221124185803.8150-7-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 values and not for some other
cases.  To make it consistent, this commit makes it uses \co{} for all.

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

diff --git a/defer/seqlock.tex b/defer/seqlock.tex
index da1d19ec..f435a1af 100644
--- a/defer/seqlock.tex
+++ b/defer/seqlock.tex
@@ -144,14 +144,14 @@ will pass to a later call to \co{read_seqretry()}.
 }\QuickQuizEnd
 
 \begin{fcvref}[ln:defer:seqlock:impl:read_seqretry]
-\Clnrefrange{b}{e} show \co{read_seqretry()}, which returns true if there
+\Clnrefrange{b}{e} show \co{read_seqretry()}, which returns \co{true} if there
 was at least one writer since the time of the corresponding
 call to \co{read_seqbegin()}.
 \Clnref{mb} orders the caller's prior critical section before \clnref{fetch}'s
 fetch of the new snapshot of the sequence counter.
 \Clnref{ret} checks whether the sequence counter has changed,
 in other words, whether there has been at least one writer, and returns
-true if so.
+\co{true} if so.
 \end{fcvref}
 
 \QuickQuizSeries{%
-- 
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 ` [PATCH 04/13] defer/rcuapi: Use \co{} for boolean return value SeongJae Park
2022-11-24 18:57 ` SeongJae Park [this message]
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-7-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 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.