public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: krishna <krishna.c@globaledgesoft.com>
Cc: drizzd@aon.at, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Documentation on top half and bottom halves
Date: Sat, 18 Dec 2004 15:08:53 +0100	[thread overview]
Message-ID: <200412181508.57980.arnd@arndb.de> (raw)
In-Reply-To: <41C4339C.7020005@globaledgesoft.com>

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

On Sünnavend 18 Dezember 2004 14:41, you wrote:
> How to understand when to use which mechanism depending upon the hardware:
> 
> 1) If DMA support is not there and If it is there.
> 2) If Shared Interrupts are there and not there.
> 3) If there are multiple same Host controllers and single Host Controller.

It's independent of these questions. The decision between tasklet and
workqueue is mostly:

- If you need non-atomic operations (e.g. allocate memory with GFP_KERNEL),
  you have to use work queues.
- If you need very low latencies for processing the interrupts, you should
  use tasklets.
- When in doubt, use work queues.

 Arnd <><

PS: pleas read http://www.netmeister.org/news/learn2quote.html

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2004-12-18 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-18  9:34 Documentation on top half and bottom halves krishna
2004-12-18 10:56 ` Clemens Buchacher
2004-12-18 12:21 ` krishna
2004-12-18 13:41 ` krishna
2004-12-18 14:08   ` Arnd Bergmann [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=200412181508.57980.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=drizzd@aon.at \
    --cc=krishna.c@globaledgesoft.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox