Re: [patch] O(1) scheduler, -D1, 2.5.2-pre9, 2.4.17

From: Linus Torvalds (torvalds@transmeta.com)
Date: Thu Jan 10 2002 - 14:09:04 EST


On Thu, 10 Jan 2002, Davide Libenzi wrote:
> >
> > It wasn't a good night for benchmarking. I had a typo in the
> > script to run chat reniced and as a result didn't collect any
> > numbers for this. In addition, the kernel with Davide's patch
> > failed to boot with 8 CPUs enabled. Can't see any '# CPU specific'
> > mods in the patch. In any case, here is what I do have.
>
> Doh !! Do you have a panic dump Mike ?

I bet it's just the placement of "init_idle()" in init/main.c, which is
unrelated to the scheduling proper, but if the kernel thread is started
before the boot CPU has done its "init_idle()", then the scheduler state
isn't really set up fully yet.

(Old bug, I think its been there for a long time, I just think that the
old scheduler didn't much care, and the "child runs first" logic in
particular of the new scheduler probably just showed it more clearly)

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:32 EST