[lkml]   [2014]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Thread Scheduler

On Wednesday, March 19, 2014 4:36 PM, Jack Carrozzo <> wrote:

>On Wed, Mar 19, 2014 at 7:34 AM, Mahmood Naderan <> wrote:
>> [...]
>> Do you mean include/linux/sched.h ?
>> Where is he implementation then?
>Your kernel source is incomplete. You can fetch a vanilla kernel
>tarball from
>jackc@kdev0 ~ $ ls /usr/src/linux-2.6.10/kernel/|grep sched
>jackc@kdev0 ~ $ ls /usr/src/linux-3.13.5/kernel/sched/
>auto_group.c  completion.c  cpuacct.h  cputime.c  features.h   proc.c
>stats.c      wait.c
>auto_group.h  core.c        cpupri.c   debug.c    idle_task.c  rt.c     stats.h
>clock.c       cpuacct.c     cpupri.h   fair.c     Makefile     sched.h

OK I installed the full source and now can see the sched*.c files
One more question. Is it possible to dynamically change the scheduling policy, e.g from fair to clock? Basically, I am trying to find the direction on *how to invoke a new scheduling policy*?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2014-03-19 21:41    [W:0.042 / U:32.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site