Re: [BUG] How to get real-time priority using idle priority

From: Ingo Molnar
Date: Thu Jan 15 2009 - 08:15:36 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> On Thu, 2009-01-15 at 13:54 +0100, Ingo Molnar wrote:
> > --- a/kernel/sched_fair.c
> > +++ b/kernel/sched_fair.c
> > @@ -283,10 +283,7 @@ static void update_min_vruntime(struct cfs_rq *cfs_rq)
> > struct sched_entity,
> > run_node);
> >
> > - if (vruntime == cfs_rq->min_vruntime)
> > - vruntime = se->vruntime;
> > - else
> > - vruntime = min_vruntime(vruntime, se->vruntime);
> > + vruntime = min_vruntime(vruntime, se->vruntime);
> > }
> >
> > cfs_rq->min_vruntime = max_vruntime(cfs_rq->min_vruntime, vruntime);
>
> That's wrong

Please send a patch that makes it right, the twists and turns of patches
in this thread is quite confusing so i probably picked up the
last-but-good one. Thanks,

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