All of lore.kernel.org
 help / color / mirror / Atom feed
From: corbet@lwn.net (Jonathan Corbet)
To: J S <webnews@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Tasklets vs. Task Queues for Deferred Processing
Date: Sat, 29 Mar 2003 14:48:22 -0700	[thread overview]
Message-ID: <20030329214822.27254.qmail@eklektix.com> (raw)
In-Reply-To: Your message of "Fri, 28 Mar 2003 18:14:37 EST." <1048893277.4058.11.camel@localhost.localdomain>

> 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?

All true.  If you're developing for 2.4, you can use schedule_task() and
life will be OK.  For 2.5, you really want to use work queues instead; see
http://lwn.net/Articles/23634/ for a description of how to do that.

jon

Jonathan Corbet
Executive editor, LWN.net
corbet@lwn.net

      parent reply	other threads:[~2003-03-29 21:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28 23:14 Tasklets vs. Task Queues for Deferred Processing J S
2003-03-29  8:12 ` Juergen Quade
2003-03-29  8:12 ` Duncan Sands
2003-03-29 21:48 ` Jonathan Corbet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030329214822.27254.qmail@eklektix.com \
    --to=corbet@lwn.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=webnews@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.