Skip to content

Commit f7b7075

Browse files
committed
Update bottomhalf description to use workqueue
Since commit 3682d9e ("Move bottom-half to workqueue for safe sleep") switched the implementation to workqueues, update the description accordingly to avoid confusion.
1 parent 2232257 commit f7b7075

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lkmpg.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,8 @@ \subsection{Detecting button presses}
19851985
\subsection{Bottom Half}
19861986
\label{sec:bottom_half}
19871987
Suppose you want to do a bunch of stuff inside of an interrupt routine.
1988-
A common way to do that without rendering the interrupt unavailable for a significant duration is to combine it with a tasklet.
1988+
A common way to avoid blocking the interrupt for a significant duration
1989+
is to defer the time-consuming part to a workqueue.
19891990
This pushes the bulk of the work off into the scheduler.
19901991

19911992
The example below modifies the previous example to also run an additional task when an interrupt is triggered.

0 commit comments

Comments
 (0)