[PATCH -perfbook 3/4] questions: Reference Tables 17.1 and 17.2 instead of Table 17.3 in -eb build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As Table 17.3 (merged large table) is not available in -eb build due
to its size, reference Tables 17.1 and 17.2 instead.

Also use \cpageref{} for "page~\pageref{}".

Fixes: 2db0c0f61ea1 ("appendix/questions: Address and remove "@@@" todo flags, take two")
[conflicts with 1704b2b83177 ("treewide: Shrink floats for ebook-size build"),
whose change log mentions "Figure 17.3" meaning *Table* 17.3]
Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 appendix/questions/removelocking.tex | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/appendix/questions/removelocking.tex b/appendix/questions/removelocking.tex
index 6678e7a2..f87bdf41 100644
--- a/appendix/questions/removelocking.tex
+++ b/appendix/questions/removelocking.tex
@@ -19,9 +19,17 @@ Furthermore, as a general rule, the more complex the algorithm,
 the greater the advantage of combining locking with selected
 lockless techniques, even with significant hardware support,
 as shown in
+\IfEbookSize{
+\cref{tab:future:Comparison of Locking and HTM,%
+tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}
+on
+\cpageref{tab:future:Comparison of Locking and HTM,%
+tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}.
+}{
 \cref{tab:future:Comparison of Locking (Plain and Augmented) and HTM}
 on
-page~\pageref{tab:future:Comparison of Locking (Plain and Augmented) and HTM}.
+\cpageref{tab:future:Comparison of Locking (Plain and Augmented) and HTM}.
+}
 \Cref{sec:advsync:Non-Blocking Synchronization}
 looks more deeply at non-blocking synchronization, which is a popular
 lockless methodology.
-- 
2.17.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux