[bootlin/training-materials updates] master: Kernel slides: remove details about floating point emulation (a89db625)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Nov 28 07:10:24 CET 2019

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


commit a89db625f4760593fb3933e7ae09f2e9a7f98887
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu Nov 28 07:10:24 2019 +0100

    Kernel slides: remove details about floating point emulation
    - Such options are only proposed in very specific cases
      (such as when OABI compatibility is enabled)
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 .../kernel-source-code-drivers.tex                     | 18 +-----------------
 1 file changed, 1 insertion(+), 17 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 98c99c06..e0d2fde5 100644
--- a/slides/kernel-source-code-drivers/kernel-source-code-drivers.tex
+++ b/slides/kernel-source-code-drivers/kernel-source-code-drivers.tex
@@ -59,24 +59,8 @@
     \item Memory barriers to provide ordering guarantees if needed
     \item DMA API to flush and invalidate caches if needed
-  \end{itemize}
-  \frametitle{No floating point computation}
-  \begin{itemize}
   \item Never use floating point numbers in kernel code. Your code may
-    be run on a processor without a floating point unit (like on
-    certain ARM CPUs).
-  \item Don't be confused with floating point related configuration
-    options
-    \begin{itemize}
-    \item They are related to the emulation of floating point
-      operation performed by the user space applications, triggering
-      an exception into the kernel.
-    \item Using soft-float, i.e. emulation in user space, is however
-      recommended for performance reasons.
-    \end{itemize}
+    need to run on a low-end processor without a floating point unit.

More information about the training-materials-updates mailing list