task queues and 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
Signature · 3 lines
__________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup