[bootlin/training-materials updates] master: kernel: slides: add mention about tasklets being deprecated (bb7a302c)
Alexis Lothoré
alexis.lothore at bootlin.com
Wed Aug 14 13:18:29 CEST 2024
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/bb7a302cc5c854ad5d77a53dae107cfbfb0a72e1
>---------------------------------------------------------------
commit bb7a302cc5c854ad5d77a53dae107cfbfb0a72e1
Author: Alexis Lothoré <alexis.lothore at bootlin.com>
Date: Thu Jul 18 13:44:35 2024 +0200
kernel: slides: add mention about tasklets being deprecated
Commit 00a7578ec446 ("debugging: slides: mention tasklets deprecation and
BH workqueues") made sure that the debugging training makes it clear that
tasklets are being slowly removed from the kernel.
Bring the same message to the kernel slides, but keeping the tasklets
slides for now.
Signed-off-by: Alexis Lothoré <alexis.lothore at bootlin.com>
>---------------------------------------------------------------
bb7a302cc5c854ad5d77a53dae107cfbfb0a72e1
.../kernel-driver-development-interrupts.tex | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/slides/kernel-driver-development-interrupts/kernel-driver-development-interrupts.tex b/slides/kernel-driver-development-interrupts/kernel-driver-development-interrupts.tex
index 0ecdad30..6a5431bb 100644
--- a/slides/kernel-driver-development-interrupts/kernel-driver-development-interrupts.tex
+++ b/slides/kernel-driver-development-interrupts/kernel-driver-development-interrupts.tex
@@ -254,6 +254,10 @@ int devm_request_threaded_irq(struct device *dev, unsigned int irq,
\ksym{HI_SOFTIRQ} (highest priority)
\end{itemize}
\end{itemize}
+ {\footnotesize
+ Note: new kernel code should not introduce any new tasklet, because tasklets are now
+ deprecated (since 6.9) and being slowly replaced by the new BH workqueue
+ (\"Bottom Half workqueue\")}
\end{frame}
\begin{frame}[fragile]
More information about the training-materials-updates
mailing list