Discussion:
Crash in Make_Runnable
(too old to reply)
Ben Rogers
2005-03-04 21:40:35 UTC
Permalink
Does anyone have any idea why the kernel would crash in make_runnable
running:

/c/schedtest.ex rr 10

Everything seems to switch over ok, but then I guess it isnt able to
insert thread's into the queue...
c***@CSIC.UMD.EDU
2005-03-04 22:14:31 UTC
Permalink
In timer.c there is an error on line 160.
That should only be done in mlf not rr.
if (current->currentReadyQueue < (MAX_QUEUE_LEVEL - 1)) {
/*Print("process %d moved to ready queue %d\n",
current->pid, current->currentReadyQueue); */
current->currentReadyQueue++;
}

Continue reading on narkive:
Loading...