Results 1 to 2 of 2
I am new to kernel programming, I have this project to implement a new scheduling policy algorithm, basically a modification of Round Robin. My problem is I don't know where ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-29-2012 #1
- Join Date
- Jun 2012
Help with Kernel scheduler coding
I am new to kernel programming, I have this project to implement a new scheduling policy algorithm, basically a modification of Round Robin. My problem is I don't know where to start?
So far I know is sched.h and sched.c is found in source code, but could not find the code part of RR policy, or any policy. How would I go implementing it in kernel source code and finally build it?
Appreciate any help.
- 11-04-2012 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
Well, I expect that by now your project is either overdue or you finished it. What happened? FWIW, implementing schedulers in the kernel is not trivial, and requires (as I'm sure you have discovered) a lot of study of existing code, especially in the kernel interfaces. In any case, you don't mention which kernel you were/are going to use, and that will affect tremendously how you approach the problem.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!