From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: Re: [PATCH 2/2] defer/rcuusage: Move float objects away of section titles
Date: Mon, 6 Dec 2021 12:57:06 +0900 [thread overview]
Message-ID: <2cfde3b7-6135-744f-6e33-aed442d864df@gmail.com> (raw)
In-Reply-To: <cc2aa713-25e1-8daf-a381-609b7d217bfb@gmail.com>
On Mon, 6 Dec 2021 12:03:00 +0900, Akira Yokosawa wrote:
> Float objects are treated as page/column break candidates.
> They can cause widowed section titles.
Paul,
I see there remain quite a lot of similar patterns in LaTeX code
of perfbook.
So I'm thinking of adding patterns in cleverefcheck.pl to find
float objects next to headings (\section, \subsection, etc.).
Does this sound reasonable to you?
Thanks, Akira
>
> Move a pair of such objects in recently added contents.
>
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
> ---
> defer/rcuusage.tex | 30 +++++++++++++++---------------
> 1 file changed, 15 insertions(+), 15 deletions(-)
>
> diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex
> index 01342fda..9f2a428e 100644
> --- a/defer/rcuusage.tex
> +++ b/defer/rcuusage.tex
> @@ -6,6 +6,14 @@
> \label{sec:defer:RCU Usage}
> \OriginallyPublished{Section}{sec:defer:RCU Usage}{RCU Usage}{Linux Weekly News}{PaulEMcKenney2008WhatIsRCUUsage}
>
> +This section answers the question ``What is RCU?'' from the viewpoint
> +of the uses to which RCU can be put.
> +Because RCU is most frequently used to replace some existing mechanism,
> +we look at it primarily in terms of its relationship to such mechanisms,
> +as listed in \cref{tab:defer:RCU Usage}.
> +Following the sections listed in this table,
> +\cref{sec:defer:RCU Usage Summary} provides a summary.
> +
> \begin{table}
> \renewcommand*{\arraystretch}{1.2}
> \centering
> @@ -40,14 +48,6 @@ Quasi multi-version concurrency control (MVCC) &
> \label{tab:defer:RCU Usage}
> \end{table}
>
> -This section answers the question ``What is RCU?'' from the viewpoint
> -of the uses to which RCU can be put.
> -Because RCU is most frequently used to replace some existing mechanism,
> -we look at it primarily in terms of its relationship to such mechanisms,
> -as listed in \cref{tab:defer:RCU Usage}.
> -Following the sections listed in this table,
> -\cref{sec:defer:RCU Usage Summary} provides a summary.
> -
> \subsubsection{RCU for Pre-BSD Routing}
> \label{sec:defer:RCU for Pre-BSD Routing}
>
> @@ -414,13 +414,6 @@ was shown in the previous sections.
> \subsubsection{Phased State Change}
> \label{sec:defer:Phased State Change}
>
> -\begin{figure}
> -\centering
> -\resizebox{\twocolumnwidth}{!}{\includegraphics{defer/RCUphasedstatechange}}
> -\caption{Phased State Change for Maintenance Operation}
> -\label{fig:defer:Phased State Change for Maintenance Operation}
> -\end{figure}
> -
> \Cref{fig:defer:Phased State Change for Maintenance Operation}
> shows a timeline for an example phased state change to efficiently
> handle maintenance operations.
> @@ -431,6 +424,13 @@ operations must be undertaken carefully, taking into account added
> complexities due to their running concurrently with that maintenance
> operation.
>
> +\begin{figure}
> +\centering
> +\resizebox{\twocolumnwidth}{!}{\includegraphics{defer/RCUphasedstatechange}}
> +\caption{Phased State Change for Maintenance Operation}
> +\label{fig:defer:Phased State Change for Maintenance Operation}
> +\end{figure}
> +
> In the figure, these apparently conflicting requirements are resolved by
> having a prepare phase prior to the maintenance operation and a cleanup
> phase after it, during which the common-case operations can proceed
>
next prev parent reply other threads:[~2021-12-06 3:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 3:01 [PATCH 1/2] defer: Use \twocolumnwidth in Figure 9.24 Akira Yokosawa
2021-12-06 3:03 ` [PATCH 2/2] defer/rcuusage: Move float objects away of section titles Akira Yokosawa
2021-12-06 3:57 ` Akira Yokosawa [this message]
2021-12-06 15:10 ` 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=2cfde3b7-6135-744f-6e33-aed442d864df@gmail.com \
--to=akiyks@gmail.com \
--cc=paulmck@kernel.org \
--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.