I am trying to find fair.c file to look at source code to improve CFS algorithm. In the internet, many advised to look at kernel/sched folder. However, there was only Makefile file. I am running ubuntu 16.0.4 on virtual box and kernel version is 4.10. I tried accessing by going into usr/src/linux-header-37-header/kernel/sched Any ideas..?? Thank you very much in advance.
Asked
Active
Viewed 130 times
0
-
For view the kernel code, you need **kernel sources**, not a *kernel headers*. – Tsyvarev Nov 02 '17 at 17:29
-
@Tsyvarev Thanks! turns out it was in kernel source files! Another question is.. I cannot find kernel/sched.c file... Has the file been moved to other directory?? – Chol Min Kang Nov 07 '17 at 07:53
-
1File `kernel/sched.c` existed in older kernels, which had no `kernel/sched` folder. Now all schedule-related code is in this folder. – Tsyvarev Nov 07 '17 at 08:00