Re: tasklet scheduled after end of rmmod

Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Mon, 27 May 2002 12:15:39 +0200


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/