Skip to content

Commit 26988ef

Browse files
authored
Merge pull request #306 from EricccTaiwan/fix
Clarify tasklet limitations and deprecation plans
2 parents 5ce6b00 + 58990f6 commit 26988ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lkmpg.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ \subsection{Manage /proc file with seq\_file}
12791279
\item \url{https://kernelnewbies.org/Documents/SeqFileHowTo}
12801280
\end{itemize}
12811281

1282-
You can also read the code of \src{fs/seq\_file.c} in the linux kernel.
1282+
You can also read the code of \src{fs/seq\_file.c} in the Linux kernel.
12831283

12841284
\section{sysfs: Interacting with your module}
12851285
\label{sec:sysfs}
@@ -1921,7 +1921,7 @@ \subsection{Tasklets}
19211921
Example tasklet init continues...
19221922
Example tasklet ends
19231923
\end{verbatim}
1924-
Although tasklet is easy to use, it comes with several drawbacks, and developers are discussing about getting rid of tasklet in linux kernel.
1924+
Although tasklet is easy to use, it comes with several drawbacks, and developers have been discussing their removal from the Linux kernel.
19251925
The tasklet callback runs in atomic context, inside a software interrupt, meaning that it cannot sleep or access user-space data, so not all work can be done in a tasklet handler.
19261926
Also, the kernel only allows one instance of any given tasklet to be running at any given time; multiple different tasklet callbacks can run in parallel.
19271927

0 commit comments

Comments
 (0)