LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-09-2001, 06:32 PM   #1
netkern
LQ Newbie
 
Registered: Apr 2001
Location: MA
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Question


Hi,

I am trying to learn some more about the scheduling architecture in Linux. At a very high level I understand that many events can trigger the invocation of the scheduler in Linux, e.g. I/O events such as blocking on I/O or the receipt of some network data etc can all lead to the invocation of the scheduler.

As I understand it, the scheduler is also invoked to preempt processes that may have utilized their running time slice. I presume that this trigger is derived from the system clock ? And if so, where exactly is the scheduler invoked ? I searched in the code base and I noticed that scheduler function kernel/sched.c:schedule() being invoked in multiple lines of the source code; however I was unable to locate where it is invoked by the system clock or whatever clock triggers the scheduler.

Any and all help would be much appreciated.

Thanks very much in advance!
 
Old 04-14-2001, 04:18 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,319

Rep: Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612
This should answer your question - http://www.oreilly.com/catalog/linux...pter/ch10.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduling in Linux asurya Linux - General 5 08-31-2005 08:34 AM
switching Linux kernel I/O scheduling algorithms irfanhab Slackware 1 03-17-2005 11:53 AM
Scheduling Tasks How to Haric Linux - Software 8 01-10-2005 02:58 AM
Pthread scheduling... msriram_linux Programming 3 11-21-2004 03:57 PM
scheduling again nautilus_1987 Linux - Software 2 07-04-2003 07:53 AM


All times are GMT -5. The time now is 06:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration