[BL training-materials-updates] Kernel: fix Kconfig slab selector screenshot usage

Michael Opdenacker michael.opdenacker at bootlin.com
Thu May 31 16:26:39 CEST 2018


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=36c976b8e5ae695c8a0edec13d74090658ed30ec

>---------------------------------------------------------------

commit 36c976b8e5ae695c8a0edec13d74090658ed30ec
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Thu May 31 16:26:39 2018 +0200

    Kernel: fix Kconfig slab selector screenshot usage
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

36c976b8e5ae695c8a0edec13d74090658ed30ec
 .../kernel-driver-development-memory.tex           | 32 ++++++++++------------
 1 file changed, 15 insertions(+), 17 deletions(-)

diff --git a/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex b/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
index afb0dc6..06a8b76 100644
--- a/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
+++ b/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
@@ -229,27 +229,25 @@
   \end{center}
 \end{frame}
 
-\begin{frame}
+\begin{frame}[fragile]
   \frametitle{Different SLAB Allocators}
+  There are three different, but API compatible, implementations of
+  a SLAB allocator in the Linux kernel. A particular implementation
+  is chosen at configuration time.
   \begin{itemize}
-  \item There are three different, but API compatible, implementations of
-    a SLAB allocator in the Linux kernel. A particular implementation
-    is chosen at configuration time.
-    \begin{itemize}
-    \item SLAB: legacy, well proven allocator.\\
-          Still the default in most ARM \code{defconfig} files.
-    \item SLOB: much simpler. More space efficient but doesn't scale
-      well. Saves a few hundreds of KB in small systems (depends on
-      \code{CONFIG_EXPERT}) \\
-      Linux 4.4 on ARM: used in 5 \code{defconfig} files
-    \item SLUB: more recent and simpler than
-      SLAB, scaling much better (in particular for huge systems) and
-      creating less fragmentation.\\
-      Linux 4.4 on ARM: used in 0 \code{defconfig} files
-    \end{itemize}
+  \item SLAB: legacy, well proven allocator.\\
+        Still the default in most ARM \code{defconfig} files.
+  \item SLOB: much simpler. More space efficient but doesn't scale
+        well. Saves a few hundreds of KB in small systems (depends on
+        \code{CONFIG_EXPERT}) \\
+        Linux 4.4 on ARM: used in 5 \code{defconfig} files
+  \item SLUB: more recent and simpler than
+        SLAB, scaling much better (in particular for huge systems) and
+        creating less fragmentation.\\
+        Linux 4.4 on ARM: used in 0 \code{defconfig} files
   \end{itemize}
   \begin{center}
-    \includegraphics[width=\textwidth]{slides/kernel-driver-development-memory/slab-screenshot.png}
+    \includegraphics[height=0.1\textheight]{slides/kernel-driver-development-memory/slab-screenshot.png}
   \end{center}
 \end{frame}
 




More information about the training-materials-updates mailing list