[bootlin/training-materials updates] master: kernel: locking: Drop the RMW mention on bit ops (db8d24c0)

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 2 17:48:31 CEST 2022


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

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

commit db8d24c03a2e217f38d5c456b8ec9f017072e9ad
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Thu Jun 2 17:48:29 2022 +0200

    kernel: locking: Drop the RMW mention on bit ops
    
    This is inaccurate.
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


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

db8d24c03a2e217f38d5c456b8ec9f017072e9ad
 .../kernel-driver-development-concurrency.tex                           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 9254bd67..d770590d 100644
--- a/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
+++ b/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
@@ -312,7 +312,7 @@ static unsigned int ulite_tx_empty(struct uart_port *port) {
   \item Supply very fast, atomic operations
   \item On most platforms, apply to an \code{unsigned long *} type.
   \item Apply to a \code{void *} type on a few others.
-  \item Ideal for bitmaps or non-RMW counters
+  \item Ideal for bitmaps
   \item Set, clear, toggle a given bit:
     \begin{itemize}
     \item \mint{c}+void set_bit(int nr, unsigned long *addr);+




More information about the training-materials-updates mailing list