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

From: Peter Zijlstra
Date: Thu Jan 15 2009 - 08:05:28 EST


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

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