From: Mahmood Naderan <nt_mahmood@yahoo.com>
To: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Thread Scheduler
Date: Wed, 19 Mar 2014 04:34:03 -0700 (PDT) [thread overview]
Message-ID: <1395228843.40159.YahooMailNeo@web141603.mail.bf1.yahoo.com> (raw)
In-Reply-To: <1395228430.4896.6.camel@marge.simpson.net>
>On Wednesday, March 19, 2014 3:57 PM, Mike Galbraith <umgwanakikbuti@gmail.com> wrote:
>On Wed, 2014-03-19 at 02:57 -0700, Mahmood Naderan wrote:
>>
>> Hi
>> Maybe this is a noob question...
>> Where in the linux kernel source (2.6), the
>>
>> thread scheduler has been implemented? Searching
>>
>> the web shows that there should sched_fair.c but
>>
>> I can not find that in the source directory (the
>> kernel source has been installed).
>
>The scheduler recently moved to kernel/sched directory. For older
>kernels, it's kernel/sched_*.
>
>-Mike
Please see this information
[root@tiger ~]# uname -a
Linux tiger 2.6.32-279.5.1.el6.x86_64 #1 SMP Tue Aug 14 16:11:42 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@tiger ~]# ls /usr/src/kernels/2.6.32-279.5.1.el6.x86_64/kernel/
events gcov irq Kconfig.freezer Kconfig.hz Kconfig.preempt Makefile power time trace
[root@tiger ~]# cd /usr/src/kernels/2.6.32-279.5.1.el6.x86_64/
[root@tiger 2.6.32-279.5.1.el6.x86_64]# find . -name sched*
./net/sched
./include/asm-generic/bitops/sched.h
./include/config/group/sched.h
./include/config/cgroup/sched.h
./include/config/schedstats.h
./include/config/fair/group/sched.h
./include/config/have/unstable/sched
./include/config/net/sched.h
./include/config/rt/group/sched.h
./include/config/sched
./include/trace/events/sched.h
./include/linux/sched.h
./include/linux/sunrpc/sched.h
Do you mean include/linux/sched.h ?
Where is he implementation then?
Regards,
Mahmood
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2014-03-19 11:40 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 [this message]
2014-03-19 12:06 ` Jack Carrozzo
2014-03-19 20:01 ` Mahmood Naderan
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=1395228843.40159.YahooMailNeo@web141603.mail.bf1.yahoo.com \
--to=nt_mahmood@yahoo.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®