* task queues and SMP
@ 2003-05-10 17:39 David Anderson
0 siblings, 0 replies; only message in thread
From: David Anderson @ 2003-05-10 17:39 UTC (permalink / raw)
To: linux-smp
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-10 17:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10 17:39 task queues and SMP David Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox