[PATCH -perfbook 5/5] toyrcu: Move float away from section heading

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

 



This change prevents a potential orphaned heading (section heading
at the bottom of a page/column).
It also allows the removal of \NoIndentAfterThis macro.

The orphaned heading was observed in the ebook-size build.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 appendix/toyrcu/toyrcu.tex | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/appendix/toyrcu/toyrcu.tex b/appendix/toyrcu/toyrcu.tex
index 94177293..7dcf1ea3 100644
--- a/appendix/toyrcu/toyrcu.tex
+++ b/appendix/toyrcu/toyrcu.tex
@@ -36,7 +36,11 @@ provides a summary and a list of desirable RCU properties.
 
 \section{Lock-Based RCU}
 \label{sec:app:toyrcu:Lock-Based RCU}
-\NoIndentAfterThis
+
+Perhaps the simplest RCU implementation leverages locking, as
+shown in
+\cref{lst:app:toyrcu:Lock-Based RCU Implementation}
+(\path{rcu_lock.h} and \path{rcu_lock.c}).
 
 \begin{listing}[htbp]
 \input{CodeSamples/defer/rcu_lock@lock_unlock.fcv}\vspace*{-11pt}\fvset{firstnumber=last}
@@ -45,10 +49,6 @@ provides a summary and a list of desirable RCU properties.
 \label{lst:app:toyrcu:Lock-Based RCU Implementation}
 \end{listing}
 
-Perhaps the simplest RCU implementation leverages locking, as
-shown in
-\cref{lst:app:toyrcu:Lock-Based RCU Implementation}
-(\path{rcu_lock.h} and \path{rcu_lock.c}).
 In this implementation, \co{rcu_read_lock()} acquires a global
 spinlock, \co{rcu_read_unlock()} releases it, and
 \co{synchronize_rcu()} acquires it then immediately releases it.
-- 
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