From: SeongJae Park <sj@kernel.org>
To: paulmck@kernel.org
Cc: perfbook@vger.kernel.org, SeongJae Park <sj38.park@gmail.com>
Subject: [PATCH 4/4] datastruct: Put \cref{} content in a single line
Date: Mon, 26 Dec 2022 10:16:34 -0800 [thread overview]
Message-ID: <20221226181639.10795-5-sj@kernel.org> (raw)
In-Reply-To: <20221226181639.10795-1-sj@kernel.org>
From: SeongJae Park <sj38.park@gmail.com>
Every \cref{} content is in a single line and it helps grep-like
scripting. However two \cref{}s are broken into two lines. Make those
single lines for consistency and easier grep.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
datastruct/datastruct.tex | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex
index 9dffaf37..4c7f9fe2 100644
--- a/datastruct/datastruct.tex
+++ b/datastruct/datastruct.tex
@@ -1551,8 +1551,7 @@ and \clnref{acq_oldcur} acquires that bucket's spinlock.
\co{hashtab_del()} functions must be enclosed
in RCU read-side critical sections, courtesy of
\co{hashtab_lock_mod()} and \co{hashtab_unlock_mod()} in
- \cref{lst:datastruct:Resizable Hash-Table Update-Side Concurrency
- Control}.
+ \cref{lst:datastruct:Resizable Hash-Table Update-Side Concurrency Control}.
\end{fcvref}
}\QuickQuizEnd
@@ -1584,8 +1583,7 @@ the old hash table, and finally \clnref{ret_success} returns success.
\begin{fcvref}[ln:datastruct:hash_resize:lock_unlock_mod]
Together with the \co{READ_ONCE()}
on \clnref{l:ifresized} in \co{hashtab_lock_mod()}
- of \cref{lst:datastruct:Resizable Hash-Table Update-Side
- Concurrency Control},
+ of \cref{lst:datastruct:Resizable Hash-Table Update-Side Concurrency Control},
it tells the compiler that the non-initialization accesses
to \co{->ht_resize_cur} must remain because reads
from \co{->ht_resize_cur} really can race with writes,
--
2.17.1
next prev parent reply other threads:[~2022-12-26 18:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-26 18:16 [PATCH 0/4] datastruct: Minor fixes SeongJae Park
2022-12-26 18:16 ` [PATCH 1/4] datastruct: Remove unnecessary space SeongJae Park
2022-12-26 18:16 ` [PATCH 2/4] datastruct: Add missed unbreakable spaces SeongJae Park
2022-12-26 23:41 ` Akira Yokosawa
2022-12-27 0:26 ` Paul E. McKenney
2022-12-27 16:04 ` SeongJae Park
2022-12-27 16:06 ` [PATCH v2] " SeongJae Park
2022-12-27 16:06 ` SeongJae Park
2022-12-27 18:29 ` Paul E. McKenney
2022-12-27 23:26 ` Akira Yokosawa
2022-12-28 0:40 ` Paul E. McKenney
2022-12-26 18:16 ` [PATCH 3/4] datastruct: Enclose NULL with \co{} SeongJae Park
2022-12-26 18:16 ` SeongJae Park [this message]
2022-12-26 18:16 ` [PATCH 0/4] datastruct: Minor fixes SeongJae Park
2022-12-26 18:16 ` [PATCH 1/4] datastruct: Remove unnecessary space SeongJae Park
2022-12-26 18:16 ` [PATCH 2/4] datastruct: Add missed unbreakable spaces SeongJae Park
2022-12-26 18:16 ` [PATCH 3/4] datastruct: Enclose NULL with \co{} SeongJae Park
2022-12-26 18:16 ` [PATCH 4/4] datastruct: Put \cref{} content in a single line 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=20221226181639.10795-5-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.