* sched_fair: the schedule check condition?
@ 2010-03-05 7:56 figo zhang
2010-03-05 8:33 ` Mike Galbraith
0 siblings, 1 reply; 2+ messages in thread
From: figo zhang @ 2010-03-05 7:56 UTC (permalink / raw)
To: linux-kernel
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?
Best,
Figo.zhang
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: sched_fair: the schedule check condition?
2010-03-05 7:56 sched_fair: the schedule check condition? figo zhang
@ 2010-03-05 8:33 ` Mike Galbraith
0 siblings, 0 replies; 2+ messages in thread
From: Mike Galbraith @ 2010-03-05 8:33 UTC (permalink / raw)
To: figo zhang; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-05 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-05 7:56 sched_fair: the schedule check condition? figo zhang
2010-03-05 8:33 ` Mike Galbraith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®