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

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/

\
 
 \ /
  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