* [PATCH -perfbook] defer/rcuusage: Tweak width of Figure 9.23 for 1c builds
@ 2021-11-30 2:26 Akira Yokosawa
2021-11-30 4:57 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2021-11-30 2:26 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
Width of 5.5in does not fit in eb and 1c builds.
The width of .96\textwidth works for both of them.
Note:
Strictly speaking, 1c builds don't need the scaling factor of .96.
But an additional conditional for them would not change the result
so much.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
defer/rcuusage.tex | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex
index e4c478f1..bc0d8778 100644
--- a/defer/rcuusage.tex
+++ b/defer/rcuusage.tex
@@ -201,7 +201,12 @@ that of the ideal synchronization-free workload.
\begin{figure*}
\centering
-\resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
+\IfTwoColumn{
+ \resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
+}{
+ \resizebox{.96\textwidth}{!}{\includegraphics{defer/RCUusecases}}
+ % eb builds require .96
+}
\caption{Relationships Between RCU Use Cases}
\label{fig:defer:Relationships Between RCU Use Cases}
\end{figure*}
base-commit: 7d9743376122167a9cdd9acc0decfe41e17a2a93
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -perfbook] defer/rcuusage: Tweak width of Figure 9.23 for 1c builds
2021-11-30 2:26 [PATCH -perfbook] defer/rcuusage: Tweak width of Figure 9.23 for 1c builds Akira Yokosawa
@ 2021-11-30 4:57 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2021-11-30 4:57 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Tue, Nov 30, 2021 at 11:26:06AM +0900, Akira Yokosawa wrote:
> Width of 5.5in does not fit in eb and 1c builds.
> The width of .96\textwidth works for both of them.
>
> Note:
> Strictly speaking, 1c builds don't need the scaling factor of .96.
> But an additional conditional for them would not change the result
> so much.
>
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Queued and pushed, thank you!
Thanx, Paul
> ---
> defer/rcuusage.tex | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex
> index e4c478f1..bc0d8778 100644
> --- a/defer/rcuusage.tex
> +++ b/defer/rcuusage.tex
> @@ -201,7 +201,12 @@ that of the ideal synchronization-free workload.
>
> \begin{figure*}
> \centering
> -\resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
> +\IfTwoColumn{
> + \resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
> +}{
> + \resizebox{.96\textwidth}{!}{\includegraphics{defer/RCUusecases}}
> + % eb builds require .96
> +}
> \caption{Relationships Between RCU Use Cases}
> \label{fig:defer:Relationships Between RCU Use Cases}
> \end{figure*}
>
> base-commit: 7d9743376122167a9cdd9acc0decfe41e17a2a93
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-30 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 2:26 [PATCH -perfbook] defer/rcuusage: Tweak width of Figure 9.23 for 1c builds Akira Yokosawa
2021-11-30 4:57 ` Paul E. McKenney
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.