Re: tasklet question...

From: george anzinger (george@mvista.com)
Date: Thu Aug 23 2001 - 12:28:32 EST


Maksim Krasnyanskiy wrote:
>
> >processing in the tasklet would like to reschedule tasklet again. will the following work
> >
> >tasklet_function()
> >{
> > more_processing = DeferredProcessing()
> > if (more_processing)
> > tasklet_schedule() // this will schedule the same tasklet.
> >}
> >
> >is the above legal.
> It's fine and it will work.
>
Does the tasklet get run again on the same interrupt (assuming that
tasklets are run at the end of irq processing) or the next one?

If the same, it would seem to be better to just do it.

George
-
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 : Thu Aug 23 2001 - 21:00:59 EST