mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: figo zhang <figo1802@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: sched_fair: the schedule check condition?
Date: Fri, 5 Mar 2010 15:56:36 +0800	[thread overview]
Message-ID: <c6ed1ac51003042356y5ccb42f1va550747b9e72129e@mail.gmail.com> (raw)

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

             reply	other threads:[~2010-03-05  7:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05  7:56 figo zhang [this message]
2010-03-05  8:33 ` Mike Galbraith

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=c6ed1ac51003042356y5ccb42f1va550747b9e72129e@mail.gmail.com \
    --to=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®