Re: sched_fair: the schedule check condition?

From: Mike Galbraith
Date: Fri Mar 05 2010 - 03:34:01 EST


On Fri, 2010-03-05 at 15:56 +0800, figo zhang wrote:
> hi,
>
> in check_preempt_tick() funtion, the check schedule condition the
> reality increasing runtime "delta_exec"
> and vruntime increasing "delta", and reality ideal time "ideal_runtime":
>
> if (delta_exec > ideal_runtime)
> and
> if (delta > ideal_runtime)
>
> if equal, it should be need schedule?

Moving the border 1 ns just doesn't matter given the huge pile of ns on
either side of that border.

-Mike

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