Messages in this thread | | | Date | Thu, 27 Oct 2011 16:09:06 +0100 | Subject | How to choose a default sched policy | From | Sebastiano Spicuglia <> |
| |
Hi all,
I implemented, just for accademic purposes, a new sched policy. Now I need to substitute it to the fair one, so when the kernel runs, normal tasks are scheduled by mine policy. How can i perform this switch? Is there in sched.c a single point of switch or I have to change every occurance of "p->sched_class = &fair_sched_class;" with "p->sched_class = &mine_sched_class;"?
Thanks in advance. Best regards. Sebastiano
| |