On Fri, Jan 07, 2022 at 11:36:42PM +0900, Akira Yokosawa wrote: > Shrink the table width so that it can fit in 1c and eb builds. > Overall appearance is based on Table D.8 in Style Guide. > > Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> The addition of the grey highlighting is also nice, thank you! Queued and pushed. Thanx, Paul > --- > defer/rcuintro.tex | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > > diff --git a/defer/rcuintro.tex b/defer/rcuintro.tex > index dbea667f..db87b9f6 100644 > --- a/defer/rcuintro.tex > +++ b/defer/rcuintro.tex > @@ -235,22 +235,24 @@ to initialize the pointed-to structure. > }\QuickQuizEnd > > \begin{table*} > -\renewcommand*{\arraystretch}{1.15} > -\footnotesize > +\renewcommand*{\arraystretch}{1.25} > +\rowcolors{2}{}{lightgray} > +\small > \centering > -\begin{tabular}{lll} > +\ebresizewidth{ > +\begin{tabular}{llp{2.4in}} > \toprule > & > Primitive & > Purpose \\ > \midrule > -\emph{Readers} & > +\cellcolor{white}\emph{Readers} & > \tco{rcu_read_lock()} & > Start an RCU read-side critical section. \\ > & > \tco{rcu_read_unlock()} & > End an RCU read-side critical section. \\ > -& > +\cellcolor{white}& > \tco{rcu_dereference()} & > Safely load an RCU-protected pointer. \\ > \midrule > @@ -258,7 +260,7 @@ to initialize the pointed-to structure. > \tco{synchronize_rcu()} & > Wait for all pre-existing RCU read-side critical sections to > complete. \\ > -& > +\cellcolor{white}& > \tco{call_rcu()} & > Invoke the specified function after all pre-existing RCU read-side > critical sections complete. \\ > @@ -267,6 +269,7 @@ to initialize the pointed-to structure. > Safely update an RCU-protected pointer. \\ > \bottomrule > \end{tabular} > +} > \caption{RCU Core API} > \label{tab:defer:RCU Core API} > \end{table*} > > base-commit: f21271f0939bb620a95b1bb3d76ac0259c4bb54c > -- > 2.17.1 >