How to remove a tasklet_struct from tasklet_vec?

From: jingguo yao
Date: Tue Sep 09 2014 - 03:27:44 EST


tasklet_kill clears TASKLET_STATE_SCHED bit. tasklet_action reconstructs
the tasklet_vec with TASKLET_STATE_SCHED bit cleared. But it does not
remove any tasklet_struct from tasklet_vec. tasklet_kill_immediate can
remove a tasklet_struct form tasklet_vec. But it can only run when CPU
state is CPU_DEAD. Is there any other way to remove tasklet_struct from
tasklet_vec?

--
Jingguo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/