#define DECLARE_TASKLET(name, func, data) \ struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(0), func, data } // Schedule tasklet for execution on current processor void tasklet_schedule (struct tasklet_struct *t); void tasklet_disable (struct tasklet_struct *t); void tasklet_enable (struct tasklet_struct *t);
Scheduling guarantees the tasklet will be called at least once.
Multiprocessor system can execute multiple tasklets concurrently.
One tasklet never executes concurrently on multiple processors.