Re: Thread Scheduler
From: Mahmood Naderan
Date: Wed Mar 19 2014 - 07:40:48 EST
>On Wednesday, March 19, 2014 3:57 PM, Mike Galbraith <umgwanakikbuti@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/