[bootlin/training-materials updates] master: Kernel slides: stress 32 bit case (fd217909)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Jun 10 09:29:45 CEST 2021


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

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

commit fd2179093951886ca47d6a4d8d7b2b506a760795
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu Jun 10 09:29:45 2021 +0200

    Kernel slides: stress 32 bit case
    
    Our diagrams are on 32 bit systems,
    while 64 bit ones are more and more popular.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

fd2179093951886ca47d6a4d8d7b2b506a760795
 .../kernel-driver-development-memory.tex           |  9 +++---
 slides/kernel-driver-development-memory/mmu.dia    | 37 ++++++++++++++++++++--
 2 files changed, 39 insertions(+), 7 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 b2cb24ed..45440600 100644
--- a/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
+++ b/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
@@ -8,7 +8,7 @@
 \end{frame}
 
 \begin{frame}
-  \frametitle{Virtual memory organization}
+  \frametitle{Virtual memory organization (on 32 bit)}
   \begin{columns}
     \column{0.3\textwidth}
     \includegraphics[height=0.8\textheight]{slides/kernel-driver-development-memory/memory-organization.pdf}
@@ -35,14 +35,15 @@
 \end{frame}
 
 \begin{frame}
-  \frametitle{Physical / virtual memory mapping}
+  \frametitle{Physical / virtual memory mapping (on 32 bit)}
   \begin{center}
     \includegraphics[height=0.8\textheight]{slides/kernel-driver-development-memory/memory-mapping.pdf}
   \end{center}
 \end{frame}
 
 \begin{frame}
-  \frametitle{Accessing more physical memory}
+  \frametitle{Accessing more physical memory on 32 bit}
+  If you cannot use a 64 bit system (see \kdochtml{x86/x86_64/mm} for example)
   \begin{itemize}
   \item Only less than 1GB memory addressable directly through kernel virtual addresses
   \item If more physical memory is present on the platform, part of
@@ -53,8 +54,6 @@
     \item Change the 3GB/1GB memory split to 2GB/2GB or 1GB/3GB
           (\kconfig{CONFIG_VMSPLIT_2G} or \kconfig{CONFIG_VMSPLIT_1G)}
           $\Rightarrow$ reduce total user memory available for each process
-    \item Change for a 64 bit architecture ;-)\\
-          See \kdochtml{x86/x86_64/mm} for an example.
     \item Activate \emph{highmem} support if available for your
           architecture:
       \begin{itemize}
diff --git a/slides/kernel-driver-development-memory/mmu.dia b/slides/kernel-driver-development-memory/mmu.dia
index ec454661..5228199e 100644
--- a/slides/kernel-driver-development-memory/mmu.dia
+++ b/slides/kernel-driver-development-memory/mmu.dia
@@ -347,7 +347,7 @@
         <dia:point val="9.5,17"/>
       </dia:attribute>
       <dia:attribute name="obj_bb">
-        <dia:rectangle val="8.11375,16.4967;10.9097,17.5033"/>
+        <dia:rectangle val="8.11375,16.5318;10.8863,17.4682"/>
       </dia:attribute>
       <dia:attribute name="text">
         <dia:composite type="text">
@@ -361,7 +361,7 @@
             <dia:real val="0.80000000000000004"/>
           </dia:attribute>
           <dia:attribute name="pos">
-            <dia:point val="9.5,17.2587"/>
+            <dia:point val="9.5,17.2704"/>
           </dia:attribute>
           <dia:attribute name="color">
             <dia:color val="#000000ff"/>
@@ -1372,5 +1372,38 @@
         <dia:enum val="3"/>
       </dia:attribute>
     </dia:object>
+    <dia:object type="Standard - Text" version="1" id="O41">
+      <dia:attribute name="obj_pos">
+        <dia:point val="5.045,2.9285"/>
+      </dia:attribute>
+      <dia:attribute name="obj_bb">
+        <dia:rectangle val="5.045,2.172;18.1655,3.16086"/>
+      </dia:attribute>
+      <dia:attribute name="text">
+        <dia:composite type="text">
+          <dia:attribute name="string">
+            <dia:string>#Illustration on 32 bit systems#</dia:string>
+          </dia:attribute>
+          <dia:attribute name="font">
+            <dia:font family="sans" style="80" name="Helvetica-Bold"/>
+          </dia:attribute>
+          <dia:attribute name="height">
+            <dia:real val="0.98777773976325989"/>
+          </dia:attribute>
+          <dia:attribute name="pos">
+            <dia:point val="5.045,2.9285"/>
+          </dia:attribute>
+          <dia:attribute name="color">
+            <dia:color val="#000000ff"/>
+          </dia:attribute>
+          <dia:attribute name="alignment">
+            <dia:enum val="0"/>
+          </dia:attribute>
+        </dia:composite>
+      </dia:attribute>
+      <dia:attribute name="valign">
+        <dia:enum val="3"/>
+      </dia:attribute>
+    </dia:object>
   </dia:layer>
 </dia:diagram>




More information about the training-materials-updates mailing list