Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question 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.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts