lkml.org 
[lkml]   [2003]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Tasklets vs. Task Queues for Deferred Processing
Date
On Saturday 29 March 2003 00:14, J S wrote:
> I'm trying to defer some processing to a later point. I'm in a softirq,
> so in_interrupt() returns true. I need to schedule some work for later,
> in process context. I have read in the O'Reilly linux device drivers
> book that tasklets always run in interrupt time. Also, I guess the only
> task_queue that is in process context is the scheduler task queue. I've
> seen in a few places that task queues are on their way out and tasklets
> are being used instead. Is this completely true? Should I consider
> task queues as a deprecated method of deferred processing?` What other
> deferred processing methods can I use that will run in process context?

In 2.5, use a workqueue.

Duncan.
-
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 13:34    [W:3.040 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site