[bootlin/training-materials updates] master: slides/kernel-driver-development-memory: Drop GFP_DMA (aae0915f)

Miquel Raynal miquel.raynal at bootlin.com
Fri Mar 24 18:46:37 CET 2023

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


commit aae0915f6a6ef39f36f7affbbe8635c73ff3eb4b
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Tue Mar 21 12:33:09 2023 +0100

    slides/kernel-driver-development-memory: Drop GFP_DMA
    That flag is obsolete.
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


 .../kernel-driver-development-memory.tex                           | 7 +------
 1 file changed, 1 insertion(+), 6 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 a3badc48..5abdb1c7 100644
--- a/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
+++ b/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
@@ -176,11 +176,6 @@
       allows to access emergency pools, but can fail if no free
       memory is readily available.
-  \item \ksym{GFP_DMA}
-    \begin{itemize}
-    \item Allocates memory in an area of the physical memory usable
-      for DMA transfers. See our DMA chapter.
-    \end{itemize}
   \item Others are defined in \kfile{include/linux/gfp.h}.\\
       See also the documentation in \kdochtml{core-api/memory-allocation}
@@ -251,7 +246,7 @@
         (while using the SLAB allocator directly allows to have more
   \item It uses the same flags as the page allocator (\ksym{GFP_KERNEL},
-    \ksym{GFP_ATOMIC}, \ksym{GFP_DMA}, etc.) with the same semantics.
+    \ksym{GFP_ATOMIC}, etc.) with the same semantics.
   \item Maximum sizes, on \code{x86} and \code{arm} (see
     \url{https://j.mp/YIGq6W}): \\
     - Per allocation: 4 MB \\

More information about the training-materials-updates mailing list