How would I go about editing the CPU scheduler in Linux/Ubuntu? Would I have to edit/recompile the kernel, or is there another file which contains the CPU scheduling algorithm? In any case, I'm taking a class on Operating Systems, and I'm curious to get my hands on the code and see for myself what kind of changes I can make. Thanks in advance for your help!
(I am specifically interested in the mid-term scheduler, but if somebody could lead me in the right direction, I'd appreciate it.)