Skip to content

Commit 58990f6

Browse files
committed
Clarify tasklet limitations and deprecation plans
Improve wording and grammar in the tasklet section. Reflect current discussion on tasklet deprecation and correct Linux kernel casing.
1 parent 5ce6b00 commit 58990f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lkmpg.tex

Lines changed: 2 additions & 2 deletions
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)