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

Davide Libenzi (davidel@xmailserver.org)
Thu, 10 Jan 2002 13:08:57 -0800 (PST)


On Thu, 10 Jan 2002, Linus Torvalds wrote:

>
> 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)

Uhm, seems fixed in pre11. Did you fix it in pre10->pre11 stage ?

- Davide

-
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/