Re: test9: running tasks not in run-queue

From: David S. Miller (davem@redhat.com)
Date: Wed Nov 08 2000 - 20:04:34 EST


   Date: Wed, 8 Nov 2000 15:11:49 -0800
   From: Mike Kravetz <mkravetz@sequent.com>

   The following code in __wake_up_common() is then
   executed:

           if (best_exclusive)
                   best_exclusive->state = TASK_RUNNING;
           wq_write_unlock_irqrestore(&q->lock, flags);

test10 fixes this error, now it sets TASK_RUNNING and
adds the task back to the runqueue all under the runqueue
lock.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:13 EST