How to choose a default sched policy

From: Sebastiano Spicuglia
Date: Thu Oct 27 2011 - 11:09:10 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/