[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1395259275.22551.YahooMailNeo@web141602.mail.bf1.yahoo.com>
Date: Wed, 19 Mar 2014 13:01:15 -0700 (PDT)
From: Mahmood Naderan <nt_mahmood@...oo.com>
To: Jack Carrozzo <jack@...pinc.com>
Cc: Mike Galbraith <umgwanakikbuti@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Thread Scheduler
On Wednesday, March 19, 2014 4:36 PM, Jack Carrozzo <jack@...pinc.com> wrote:
>On Wed, Mar 19, 2014 at 7:34 AM, Mahmood Naderan <nt_mahmood@...oo.com> 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 http://kernel.org.
>
>jackc@...v0 ~ $ ls /usr/src/linux-2.6.10/kernel/|grep sched
>sched.c
>jackc@...v0 ~ $ 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
>stop_task.c
>
>-J
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 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