Re: test9: running tasks not in run-queue

2000-11-09 Thread George Anzinger
"David S. Miller" wrote: > >Date:Wed, 8 Nov 2000 15:11:49 -0800 >From: Mike Kravetz <[EMAIL PROTECTED]> > >The following code in __wake_up_common() is then >executed: > >if (best_exclusive) >best_exclusive->state = TASK_RUNNING; >

Re: test9: running tasks not in run-queue

2000-11-09 Thread George Anzinger
"David S. Miller" wrote: Date:Wed, 8 Nov 2000 15:11:49 -0800 From: Mike Kravetz [EMAIL PROTECTED] The following code in __wake_up_common() is then executed: if (best_exclusive) best_exclusive-state = TASK_RUNNING;

test9: running tasks not in run-queue

2000-11-08 Thread Mike Kravetz
I have been playing around with the scheduler in the test9 kernel and noticed that it sometimes chooses tasks to run that are not on the run-queue. This may seem strange, but here is how it happens task A on processor 0, calls __lock_sock() which does the following: void __lock_sock(struct

test9: running tasks not in run-queue

2000-11-08 Thread Mike Kravetz
I have been playing around with the scheduler in the test9 kernel and noticed that it sometimes chooses tasks to run that are not on the run-queue. This may seem strange, but here is how it happens task A on processor 0, calls __lock_sock() which does the following: void __lock_sock(struct