tasklet_schedule registers a tasklet in the system:
static inline void tasklet_schedule(struct tasklet_struct *t);
If the tasklet_state_sched bit is set, registration is terminated because the tasklet is already registered. Otherwise, the tasklet is placed at the start of a list whose list header is the CPU-specific variable tasklet_vec. This list contains all registered tasklets and uses the next element for linking purposes.
The tasklet list is marked for processing once a tasklet has been registered.
Continue reading here: Executing Tasklets
Was this article helpful?