[lkml]   [2002]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4.19-preX: What we really need: -AA patches finally in the tree
On Thu, 28 Feb 2002, Rik van Riel wrote:

> On Thu, 28 Feb 2002, Bill Davidsen wrote:
> > On Tue, 26 Feb 2002, Christoph Hellwig wrote:
> >
> > > They shouldn't, But many old drivers do (and _had to_):
> > >
> > > current->policy = SCHED_YIELD;
> > > schedule();
> > >
> > > which isn't possible with the new scheduler.
> >
> > Let's see, the choices are to (a) keep the old scheduler which has many
> > performance issues, or (b) put in the new scheduler and let people who
> > need the old drivers either fix them or stop upgrading.
> or (c) have proponents of the inclusion of the O(1) scheduler
> fix all drivers before having the O(1) scheduler considered
> for inclusion.
> Adding a yield() function to 2.4's scheduler and fixing all
> the drivers to use it isn't that hard. Now all that's needed
> are some O(1) fans willing to do the grunt work.

That sounds very nice, but in practice it means it would never happen, and
you know it. First you have to patch the existing scheduler. Aside from
the work on something which we are about to discard, the patch would have
to go through the maintainer, and the the submitter, and the pope, and
god, and finally Linus, and then (only then) could the patch go in the old
scheduler. Then you start the process with each of the drivers. They are
old grotty drivers, I would bet that no one "maintains" some of them (I'll
actually count when I login to a better machine).

This process could take six months to a year, after which we can start the
process with the scheduler. Alternatively we can put in the new scheduler,
let the drivers have compile errors, and let them be fixed when (if) they
are still in use.

If we could get a dispensation from Linus to submit one patch combining
the scheduler and all the drivers, it could be done (almost mechanically).
But with the maintainers, submitters, etc, process for each bit, it could
take a year. And dammit the patch is so night and day better that it
shouldn't take a year.

bill davidsen <>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:21    [W:0.094 / U:4.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site