From: "David Anderson" <david-anderson2003@mail.com>
To: linux-smp@vger.kernel.org
Subject: task queues and SMP
Date: Sat, 10 May 2003 12:39:18 -0500 [thread overview]
Message-ID: <20030510173919.60205.qmail@mail.com> (raw)
Hi,
I am facing some problem running task queues on an SMP machine. I am using tq_schedule queue. I queue the task in interrupt context.
temp_end_io(.....)
{
if (uptodate == 0) // on error
{
if (!in_interrupt())
generic_make_request
else
{
// add buffer head to linked list
schedule_task(tq_ownstruct);
}
}
}
tq_ownstruct.routine = xyz;
xyz()
{
// pop from list
// call generic_make_request
}
Somehow all bufferheads are not scheduled. Is there a problem b'coz I am using a global linked list ??
Any know problem task queues and SMP machines ??
Thanks and Regards,
David Anderson
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
reply other threads:[~2003-05-10 17:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030510173919.60205.qmail@mail.com \
--to=david-anderson2003@mail.com \
--cc=linux-smp@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 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.