[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
|
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOSRKdSTiLRiwusJEmvudzuLYc+AkYYTka3+AQEpjcb81YtE0w@mail.gmail.com>
Date: Thu, 27 Oct 2011 16:09:06 +0100
From: Sebastiano Spicuglia <spicuglia.sebastiano@...il.com>
To: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
peterz <peterz@...radead.org>
Subject: How to choose a default sched policy
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists