public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q: Scheduler and need_resched
@ 2002-09-24  8:47 Anders Fugmann
  2002-09-24  9:37 ` Anders Fugmann
  0 siblings, 1 reply; 2+ messages in thread
From: Anders Fugmann @ 2002-09-24  8:47 UTC (permalink / raw)
  To: Linux-kernel

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-24  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-24  8:47 Q: Scheduler and need_resched Anders Fugmann
2002-09-24  9:37 ` Anders Fugmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox