Re: [RFC][PATCH] SCHED_EDF scheduling class

From: Peter Zijlstra
Date: Tue Sep 22 2009 - 12:39:25 EST


On Tue, 2009-09-22 at 06:24 -0700, Daniel Walker wrote:
> On Tue, 2009-09-22 at 12:30 +0200, Raistlin wrote:
> > Hi Peter, Hi all,
> >
> > this is the implementation of a new scheduling class called
> > SCHED_EDF made by me and Michael Trimarchi (CC:-ed). We followed the
> > suggestions you gave us at the multicore workshop in Kaiserlsautern
> > on October.
> >
> > For other people: it is a real-time scheduling policy based on the
> > Earliest Deadline First (EDF) algorithm, one of the most common
> > real-time scheduling algorithms.
>
> You've got some type of encoding corruption in your patch,
>
> + else {
> + if (!edf_task(p))
> + p->sched_class =3D &fair_sched_class;
> + else
> + p->sched_class =3D &edf_sched_class;
> + }
> =20
> p->prio =3D prio;
> =20
>
> See the =20 , and =3D above.. I'm not sure exactly how that gets into
> patches ;(

Daniel, welcome to my kill-file.

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