All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Fugmann <afu@fugmann.dhs.org>
To: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Q: Scheduler and need_resched
Date: Tue, 24 Sep 2002 10:47:50 +0200	[thread overview]
Message-ID: <3D9026B6.3080509@fugmann.dhs.org> (raw)

Hi.

I got a small question of what happens codevice when the quantum of a 
task is expired (counter == 0 -> need_resched == 1). Of cource schedule 
is invoked somehow, but from where? How is the "flow". I see from where 
do_timer is called, and that it schedules a BH, but then I'm stuck.

I have a feeling that some function is called (at least) each timer 
tick, which tests if schedules sould be called (a test on need_resched 
amongst others). I just cannot seem to find this function.

Any pointer appriciated.
Anders Fugmann






             reply	other threads:[~2002-09-24  8:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-24  8:47 Anders Fugmann [this message]
2002-09-24  9:37 ` Q: Scheduler and need_resched Anders Fugmann

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=3D9026B6.3080509@fugmann.dhs.org \
    --to=afu@fugmann.dhs.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.