cvs commit: src/sys/kern sched_4bsd.c

David Xu davidxu at freebsd.org
Sat Nov 11 23:16:16 UTC 2006


On Sunday 12 November 2006 00:22, Bruce Evans wrote:
> On Sat, 11 Nov 2006, David Xu wrote:
> > davidxu     2006-11-11 13:11:30 UTC
> >
> >  FreeBSD src repository
> >
> >  Modified files:
> >    sys/kern             sched_4bsd.c
> >  Log:
> >  Unbreak userland priority inheriting in NO_KSE case.
>
> Is this what made the non-KSE case unusable?  At least with the load
> average bug fixed, it gave very unfair scheduling, and would only start
> about 4 concurrent hog processes on a 2-way SMP system.
>
> Improvements in some benchmarks may have depended on the bugs.  Maybe
> a random load average is optimal for some loads :-).
>
> Bruce

No, this change is unrelated, the bug is in kern_idle.c, John should use
mi_switch(), not the choosethread(), otherwise the loadavg is not
maintianed correctly.

David Xu


More information about the cvs-src mailing list