Re: tasklet scheduled after end of rmmod

From: Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Date: Mon May 27 2002 - 05:15:39 EST


On Fri, May 24, 2002 at 03:34:27PM +0200, Emmanuel Michon wrote:
> as far as I understand nothing prevents a scheduled tasklet to have
> Linux jump to its routine, when the routine is in a module being
> rmmod'd. How should I take care of this?
 
tasklet_kill() in your module_exit() code looks like it does the
job.

Regards

Ingo Oeser

-- 
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:20 EST