Originally Posted by chaitukanna
i am new to linux, i am curious to find out which part of the operating system is responsible for the scheduling?
How is the interface done, so as the scheduler gets the process as inputs?
Looking forward for the reply,thank you
The answer to this question is probably beyond the scope of this forum. Large volumes of research and numerous publications have gone into this topic over the years. A good place to start learning about the scheduler would be in sections of one of the following two introductory books:
Modern Operating Systems, by Andrew Tanenbaum
. This is now in 3E, but not a lot changed. This book contains a general discussion of schedulers and scheduling algorithms.
Linux Kernel Development, by Robert Love
This contains sections specifically on the Linux O(1) scheduler in 2.6+ kernels. The 1E version of this book deals with 2.4 prior, as I recall, so be sure to get the 2006 version.
Both of these texts are near canon, and should be available at public libraries, on the internet -- as handouts at any undergraduate computer science department welcoming session.
Hope this helps