lkml.org 
[lkml]   [2011]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectHow to choose a default sched policy
From
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


\
 
 \ /
  Last update: 2011-10-27 17:11    [W:0.539 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site