From: SeongJae Park <sj@kernel.org>
To: paulmck@kernel.org
Cc: SeongJae Park <sj38.park@gmail.com>, perfbook@vger.kernel.org
Subject: [PATCH 06/12] formal/dyntickrcu: Use \qco{} instead of ``\co{}''
Date: Sat, 8 Apr 2023 10:33:03 -0700 [thread overview]
Message-ID: <20230408173309.5543-7-sj@kernel.org> (raw)
In-Reply-To: <20230408173309.5543-1-sj@kernel.org>
From: SeongJae Park <sj38.park@gmail.com>
A few sentences in dyntickrcu.tex are using ``\co{}'', which can be
shortenized with \qco{}. Use the shorter one.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
formal/dyntickrcu.tex | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/formal/dyntickrcu.tex b/formal/dyntickrcu.tex
index 25012738..42c0c55c 100644
--- a/formal/dyntickrcu.tex
+++ b/formal/dyntickrcu.tex
@@ -890,12 +890,12 @@ statements in that group execute atomically.
%
\QuickQuizE{
But what if the \co{dynticks_nohz()} process had
- ``if'' or ``do'' statements with conditions,
+ \qco{if} or \qco{do} statements with conditions,
where the statement bodies of these constructs
needed to execute non-atomically?
}\QuickQuizAnswerE{
One approach, as we will see in a later section,
- is to use explicit labels and ``goto'' statements.
+ is to use explicit labels and \qco{goto} statements.
For example, the construct:
\begin{VerbatimU}
@@ -921,7 +921,7 @@ statements in that group execute atomically.
\end{VerbatimU}
However, it is not clear that the macro is helping much in the case
- of the ``if'' statement, so these sorts of situations will
+ of the \qco{if} statement, so these sorts of situations will
be open-coded in the following sections.
}\QuickQuizEndE
}
@@ -1067,7 +1067,7 @@ to \co{EXECUTE_IRQ()} as follows:
\input{CodeSamples/formal/promela/dyntick/dyntickRCU-irq-nmi-ssl@dyntick_irq.fcv}
\begin{fcvref}[ln:formal:promela:dyntick:dyntickRCU-irq-nmi-ssl:dyntick_irq]
-Note that we have open-coded the ``if'' statements
+Note that we have open-coded the \qco{if} statements
(for example, \clnrefrange{stmt1:b}{stmt1:e}).
In addition, statements that process strictly local state
(such as \clnref{inc_i}) need not exclude \co{dyntick_nmi()}.
--
2.17.1
next prev parent reply other threads:[~2023-04-08 17:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-08 17:32 [PATCH 00/12] formal: Trivial fixups SeongJae Park
2023-04-08 17:32 ` [PATCH 01/12] formal/formal: Drop cppmem from 'Special-Purpose State-Space Search' section explanation SeongJae Park
2023-04-08 17:32 ` [PATCH 02/12] formal/spinhint: Use \qco{} instead of ``\co{}'' SeongJae Park
2023-04-08 17:33 ` [PATCH 03/12] formal/spinhint: Enclose example code snippets with \co{} SeongJae Park
2023-04-08 17:33 ` [PATCH 04/12] formal/spinhint: Do not call 2013 paper as recent SeongJae Park
2023-04-08 17:33 ` [PATCH 05/12] formal/dyntickrcu: Quote 'trail' file consistently SeongJae Park
2023-04-08 17:33 ` SeongJae Park [this message]
2023-04-08 17:33 ` [PATCH 07/12] formal/ppcmem: Use uppercase 'S' for Spin SeongJae Park
2023-04-08 17:33 ` [PATCH 08/12] formal/ppcmem: Use \qco{} instead of ``\co{}'' SeongJae Park
2023-04-08 17:33 ` [PATCH 09/12] formal/ppcmem: Add missed non-breakable spaces SeongJae Park
2023-04-08 17:33 ` [PATCH 10/12] formal/ppcmem: Enclose example code snippets with \co{} SeongJae Park
2023-04-08 17:33 ` [PATCH 11/12] formal/ppcmem: s/powerpc/PowerPC/ on sentences SeongJae Park
2023-04-08 17:33 ` [PATCH 12/12] formal/ppcmem: Fix label name for Fail1: SeongJae Park
2023-04-10 2:42 ` [PATCH 00/12] formal: Trivial fixups 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=20230408173309.5543-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox