[bootlin/training-materials updates] master: slides/kernel-driver-development-concurrency: Use two slides to sho the RCU examples (bd2c1681)

Miquel Raynal miquel.raynal at bootlin.com
Fri Apr 7 09:48:28 CEST 2023


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

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

commit bd2c1681616ae2d69744d490eb762fe1006fca51
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Fri Apr 7 09:48:10 2023 +0200

    slides/kernel-driver-development-concurrency: Use two slides to sho the RCU examples
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


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

bd2c1681616ae2d69744d490eb762fe1006fca51
 .../kernel-driver-development-concurrency.tex                     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex b/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
index 8a6a9279..1e556792 100644
--- a/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
+++ b/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
@@ -267,7 +267,7 @@ static unsigned int ulite_tx_empty(struct uart_port *port) {
 
 \begin{frame}[fragile]
   \frametitle{RCU protected reads: accessing structure members in a consistent way}
-    \begin{block}{Unsafe read}
+    \begin{block}{Unsafe read}<1:>
       \begin{minted}[fontsize=\tiny]{c}
 struct myconf { int a, b; } *current_conf; /* initialized */
 
@@ -279,7 +279,7 @@ unsafe_get(int *cur_a, int *cur_b)
 };
       \end{minted}
     \end{block}
-  \begin{block}{Safe read}
+  \begin{block}{Safe read}<2>
     \begin{minted}[fontsize=\tiny]{c}
 struct myconf { int a, b; } *current_conf; /* initialized */
 
@@ -300,7 +300,7 @@ safe_get(int *cur_a, int *cur_b)
 
 \begin{frame}[fragile]
   \frametitle{RCU protected writes: updating a pointer in a consistent way}
-  \begin{block}{Unsafe write}
+  \begin{block}{Unsafe write}<1:>
     \begin{minted}[fontsize=\tiny]{c}
 struct myconf { int a, b; } *current_conf; /* initialized */
 
@@ -315,7 +315,7 @@ unsafe_set(int cur_a, int cur_b)
 };
     \end{minted}
   \end{block}
-  \begin{block}{Safe write}
+  \begin{block}{Safe write}<2>
     \begin{minted}[fontsize=\tiny]{c}
 struct myconf { int a, b; } *current_conf; /* initialized */
 




More information about the training-materials-updates mailing list