Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

linux kernel patch

Name: Anonymous 2008-10-06 20:40

OK, so for my Operating Systems class I have to modify the linux kernel/sched.h in order to make the priority levels be scheduled by processes with the lowest timeslice. I was thinking that changing the enqueue_task function (http://lxr.linux.no/linux+v2.6.17.14/kernel/sched.c#L610) to check the timeslice of the passed task and insert it into the priority array list thing in the appropriate place....do you guys think this would work?

Name: Anonymous 2008-10-06 23:31

Wait, so you want to change the scheduling algorithm to schedule the processes by the lowest timeslice? That is, you want the processes with the lowest timeslice to be scheduled first?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List