linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ira Weiny <iweiny@acm.org>
To: Linux1394dev <linux1394-devel@lists.sourceforge.net>,
	linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: Task Queue Imediate Bottom Halfs question.
Date: Sun, 19 Aug 2001 15:38:38 -0700	[thread overview]
Message-ID: <3B803FEE.7079F34C@acm.org> (raw)


This is going to seem like a real stupid question but I just got burned
because I did not know the answer and I would like to know.

In the 1394 stack (OHCI) the IRQ handler schedules "bottom half tasklets
(task queues in the old stack)".  They are scheduled to be "imediate"
bottom half's.  I thought (wrongly) that a bottom half executed out of
IRQ time with interrupts __enabled__.  As a result I put in a Async Rec
handler which used printk (60ms worth to be exact).  Needless to say
this greatly disturbed our ISO transfers which did not get processed.

So, my question is, why use a bottom half here?  Or really what is the
difference between scheduling a task queue (tasklet) imediate vs just
running the code in the IRQ handler?

Thanks,
Ira Weiny
iweiny@acm.org

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2001-08-19 22:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-19 22:38 Ira Weiny [this message]
2001-08-19 23:18 ` Task Queue Imediate Bottom Halfs question Ben Collins
2001-08-20  6:02 ` Michel Lanners
2001-08-21  9:04   ` Rodney Schneider

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=3B803FEE.7079F34C@acm.org \
    --to=iweiny@acm.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).