From: Mike Galbraith <efault@gmx.de>
To: figo zhang <figo1802@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sched_fair: the schedule check condition?
Date: Fri, 05 Mar 2010 09:33:51 +0100 [thread overview]
Message-ID: <1267778031.9309.15.camel@marge.simson.net> (raw)
In-Reply-To: <c6ed1ac51003042356y5ccb42f1va550747b9e72129e@mail.gmail.com>
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
prev parent reply other threads:[~2010-03-05 8:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 7:56 figo zhang
2010-03-05 8:33 ` Mike Galbraith [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1267778031.9309.15.camel@marge.simson.net \
--to=efault@gmx.de \
--cc=figo1802@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®