mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mahmood Naderan <nt_mahmood@yahoo.com>
To: Jack Carrozzo <jack@crepinc.com>
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: Thread Scheduler
Date: Wed, 19 Mar 2014 13:01:15 -0700 (PDT)	[thread overview]
Message-ID: <1395259275.22551.YahooMailNeo@web141602.mail.bf1.yahoo.com> (raw)
In-Reply-To: <CAJ__M-3RTLqU5MBVDGkXXw7cGriRCtfcb3pnMwGpXuJPMxeYHw@mail.gmail.com>





On Wednesday, March 19, 2014 4:36 PM, Jack Carrozzo <jack@crepinc.com> wrote:

>On Wed, Mar 19, 2014 at 7:34 AM, Mahmood Naderan <nt_mahmood@yahoo.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@kdev0 ~ $ ls /usr/src/linux-2.6.10/kernel/|grep sched
>sched.c
>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
>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*?


  reply	other threads:[~2014-03-19 20:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19  9:57 Mahmood Naderan
2014-03-19 11:27 ` Mike Galbraith
2014-03-19 11:34   ` Mahmood Naderan
2014-03-19 12:06     ` Jack Carrozzo
2014-03-19 20:01       ` Mahmood Naderan [this message]
2014-03-20  2:23         ` Mike Galbraith
2014-03-23 11:01           ` Mahmood Naderan
2014-03-23 14:05             ` Mark Knecht
2014-03-23 14:27               ` Mahmood Naderan
2014-03-23 15:04                 ` Mark Knecht
2014-03-24 20:30             ` Andreas Mohr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1395259275.22551.YahooMailNeo@web141602.mail.bf1.yahoo.com \
    --to=nt_mahmood@yahoo.com \
    --cc=jack@crepinc.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=umgwanakikbuti@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®