In the previous code example, we discussed a statically assigned Tasklet via the DECLARE_TASKLET_OLD MACRO. In the current code example, a dynamcally memory allocated tasklet structure is intialized for operation via the tasklet_init function.
The “dmesg output” is shown below
Workqueues as bottom half method in the Linux kernel
Pingback: Tasklet Example code with statically initialized Tasklet | Hitch Hiker's Guide to Learning