Read
http://www.oreilly.com/catalog/linuxkernel/chapter/ch10.html
and then go thru the code of sched.c.
[I recommend you to purchase the Book.]
Regds
Ketan
802.11 wrote:
try to understand various scheduling policies in
$kernelhome/kernel/sched.c ,this is the starting point to implement
any kind of scheduling algorithms into linux kernel
On Tue, 19 Nov 2002 jspali15@calvin.edu wrote:
I was given an assignment in my CS 270 OSs class asking me to impliment
a fair sharing scheduler into the linux kernel. We've never talked
about kernel programming before, and I'm hopelessly lost in the world of
c and kernel programming. DO you have any hints as to where I might
start, what kind of things I need to code, and where to put them? Any
help or resources you could offer would be wonderful. I've looked at
various patches available (written by Rik) but they're far too advanced
for what we're trying to do. Thanks
Jonathan
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
--
"Only the paranoid survives." --- Andy Grove
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/