Re: cvs commit: src/sys/kern sched_ule.c
From: Julian Elischer (julian_at_elischer.org)
Date: Mon, 13 Dec 2004 11:17:37 -0800 To: Scott Long <email@example.com>, John Baldwin <firstname.lastname@example.org>, Jeff Roberson <jeff@FreeBSD.org>, Peter Wemm <email@example.com>, Stephan Uphoff <firstname.lastname@example.org>, FreeBSD Current <email@example.com>
The whole problem that "slots" is trying to solve is to stop a single
from being able to flood the system with threads and therefore make the
unfair in its favour.
The "slots" method is really suitable for the 4bsd scheduler but it is
not so good for ULE (at least I think that there are probably better
ULE could implement fairness).
What I think should happen at this stage is that the inclusion of
should be replaced by actually copying the contents of that file into
schedulers and that they be permitted to diverge. This would allow ULE and
BSD to be cleaned up in terms of the sched_td/kse hack (where they are in
fact the same structure, but to keep diffs to a minimum I defined one in
terms of the other with macros).
It would also allow jeff to experiment absolutly freely on how ULE might
implement fairness without any constraints of worrying about the BSD
scheduler, and visa versa.
I have been hesitant to do this because there was some (small) amount of
work going on in the shared file, but I think it is time to cut the
cord. If ULE is really fixed then this would be a good time to break
and delete kern_switch.c (or at least move most of the stuff in it out
two schedulers). This would protect ULE from future problems being
"imported" from BSD for example.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"