Skip to content

Commit

Permalink
kernel: interrupts: Fix the workqueues slide
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Raynal <[email protected]>
  • Loading branch information
miquelraynal committed Jan 24, 2025
1 parent 817c8f0 commit 862ea67
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,16 @@ \subsection{Interrupt Management}
\item Workqueues are a general mechanism for deferring work. It is
not limited in usage to handling interrupts. It can typically
be used for background jobs.
\item Functions registered to run in workqueues are called workers:
\item Functions registered to run in workqueues are called works:
\begin{itemize}
\item Workers can be created with the macro \kfunc{INIT_WORK}
\item Workers are executed in thread context, which means:
\item They can be created with the macro \kfunc{INIT_WORK}
\item When scheduled, they become threads (called workers) running in
process context, which means:
\begin{itemize}
\item All interrupts are enabled
\item Sleeping is allowed
\end{itemize}
\item Workers can be queued on:
\item Works can be queued on:
\begin{itemize}
\item The default workqueue, with \kfunc{schedule_work}
\item A workqueue allocated by the subsystem or the drivers, with
Expand Down

0 comments on commit 862ea67

Please sign in to comment.