lkml.org 
[lkml]   [2009]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] How to get real-time priority using idle priority

* Peter Zijlstra <a.p.zijlstra@chello.nl> 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


\
 
 \ /
  Last update: 2009-01-15 14:17    [W:3.177 / U:1.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site