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



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