[lkml]   [2001]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: tasklet question...
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:58    [W:0.041 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site