[$] Modernizing the tasklet API

Post Syndicated from original https://lwn.net/Articles/830964/rss

Tasklets offer a deferred-execution method in the Linux kernel; they
have been available since the 2.3 development series. They allow interrupt
handlers to schedule further work to be executed as soon as possible after
the handler itself. The tasklet API has its shortcomings, but it has stayed
in place while other deferred-execution methods, including workqueues, have
been introduced. Recently, Kees
Cook posted a security-inspired patch
set
(also including work from Romain Perrier) to improve the tasklet
API. This change is uncontroversial, but it provoked a discussion that
might lead to the removal of the tasklet API in the (not so distant)
future.