[bootlin/training-materials updates] master: Kernel slides: minor improvements (ffd0724e)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:36 CEST 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/ffd0724ebb642fd3f7098aef8210530590108441


commit ffd0724ebb642fd3f7098aef8210530590108441
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Apr 21 11:50:04 2021 +0200

    Kernel slides: minor improvements
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 slides/kernel-source-code-drivers/kernel-source-code-drivers.tex   | 5 +++--
 slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/slides/kernel-source-code-drivers/kernel-source-code-drivers.tex b/slides/kernel-source-code-drivers/kernel-source-code-drivers.tex
index f2072920..1c807e4f 100644
--- a/slides/kernel-source-code-drivers/kernel-source-code-drivers.tex
+++ b/slides/kernel-source-code-drivers/kernel-source-code-drivers.tex
@@ -34,7 +34,7 @@
     phase, before it has accessed a root filesystem.
   \item Hence, kernel code has to supply its own library implementations
     (string utilities, cryptography, uncompression...)
-  \item So, you can't use standard C library functions in kernel code.
+  \item So, you can't use standard C library functions in kernel code
     (\code{printf()}, \code{memset()}, \code{malloc()},...).
   \item Fortunately, the kernel provides similar C functions for your
     convenience, like \kfunc{printk}, \kfunc{memset},
@@ -99,7 +99,8 @@
     memory locations. It just dumps {\em oops} messages on the system console.
   \item Fixed size stack (8 or 4 KB). Unlike in user space, no mechanism
     was implemented to make it grow. Don't use recursion!
-  \item Swapping is not implemented for kernel memory either.
+  \item Swapping is not implemented for kernel memory either\\
+    (Exception: {\em tmpfs} filesystem pages)
diff --git a/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex b/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
index a66afa54..f5042d58 100644
--- a/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
+++ b/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
@@ -34,8 +34,8 @@
-    \item Portability and hardware support. Runs on most
-      architectures.
+    \item Portability and hardware support. Runs on most architectures\\
+      (see \kdir{arch} in the source code).
     \item Scalability. Can run on super computers as well as on tiny
       devices (4 MB of RAM is enough).
     \item Compliance to standards and interoperability.

More information about the training-materials-updates mailing list