in tasklet_action routine - while handling an entry from tasklet_vec list of
core , we are atomically reading atomic_read(&t->count), i dont see
any of its uses through out the routine, what is its significant ?
if (tasklet_trylock(t)) { // check is it is not already being executed
if (!atomic_read(&t->count)) {
if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state))
BUG();
t->func(t->data); // call tasklet action routine
tasklet_unlock(t);
continue;
}
tasklet_unlock(t);
}