[bootlin/training-materials updates] master: debugging: slides: add small comment about reason for clear_page() call (71f9f7cb)

Clément Léger clement.leger at bootlin.com
Fri Nov 18 12:13:20 CET 2022


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

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

commit 71f9f7cb47a434613950dd158a1142a5a4e3cbfd
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Fri Nov 18 12:13:20 2022 +0100

    debugging: slides: add small comment about reason for clear_page() call
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

71f9f7cb47a434613950dd158a1142a5a4e3cbfd
 .../debugging-application-profiling.tex                             | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/slides/debugging-application-profiling/debugging-application-profiling.tex b/slides/debugging-application-profiling/debugging-application-profiling.tex
index 49534bad..f2b66eba 100644
--- a/slides/debugging-application-profiling/debugging-application-profiling.tex
+++ b/slides/debugging-application-profiling/debugging-application-profiling.tex
@@ -88,7 +88,11 @@
           optimization.
     \item Allocating too much memory can lead to system memory exhaustion.
     \item Allocating/freeing memory too much can lead to the kernel spending a
-          considerable amount of time in \code{clear_page}.
+          considerable amount of time in \code{clear_page()}.
+    \begin{itemize}
+      \item Due to the fact the kernel clear pages before giving them to
+            processes to avoid data leakage.
+    \end{itemize}
     \item Reducing application memory footprint can allow optimizing cache usage
           as well as page miss.
   \end{itemize}




More information about the training-materials-updates mailing list