From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David Anderson" Subject: task queues and SMP Date: Sat, 10 May 2003 12:39:18 -0500 Sender: linux-smp-owner@vger.kernel.org Message-ID: <20030510173919.60205.qmail@mail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-smp@vger.kernel.org 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